Results 1 to 1 of 1
Hello
I would like to add some text into a file, but I don't know how to do.
The text file is this one:
Code:
000000001 LDR L ^^^^^nam^^2200145Ia^45e0
000000001 ...
- 01-21-2010 #1Just Joined!
- Join Date
- Jan 2010
- Posts
- 1
add text into ascii file
Hello
I would like to add some text into a file, but I don't know how to do.
The text file is this one:
As you see, this is a list of bibliographics items, the way to identify them is via the LDR filed...So I would like to add this: $$eGEN at the end of the line with the tag 999Code:000000001 LDR L ^^^^^nam^^2200145Ia^45e0 000000001 008 L 090226s9999^^^^xx^^^^^^^^^^^^000^0^und^d 000000001 260 L $$c2007 000000001 269 L $$a01/04/2007 000000001 999 L $$a01/04/2007$$b35978$$cBoletin ICE 000000001 FMT L BK 000000002 LDR L ^^^^^nam^^2200157Ia^45e0 000000002 008 L 090226s9999^^^^xx^^^^^^^^^^^^000^0^und^d 000000002 260 L $$c2007 000000002 269 L $$a01/04/2007 000000002 999 L $$a01/04/2007$$b35980$$cBoletin ICE 000000002 FMT L BK
as this one for exemple:
so the result should be:Code:000000002 999 L $$a01/04/2007$$b35980$$cBoletin ICE
I think it's possible to do this directly with VI, but I'm not sur.Code:000000002 999 L $$a01/04/2007$$b35980$$cBoletin ICE$$eGEN
Thanks to help
Cheers


Reply With Quote