Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Unix sed substitute text with / in
Name: jaxler Date: May 14, 2004 at 20:53:46 Pacific OS: UNIX CPU/Ram: 510 MG
Comment:
I have a file (file1.txt) that has the string 08/01/2004 in the middle of it. I need a script (sed?) to write all records from file1.txt to file3.text. I need a script (sed?) to substitute from file2.txt 09/01/2004 (that's the only thing in file2.txt for the 08/01/2004 in file1.txt before writing to file3.txt
Summary: Well this may start out a tad bit confusing but here goes: Dossy bit - I have managed to condense the output details from mem.exe in batch to get a single line of text using: MEM.EXE | FIND.EXE /I "To...
Summary: I am using Unix sed command like this sed 's/XX/new.dat/' x > y.out The replacement is working fine but while creating the y.out file its truncating the last line from x file Any idea why this is ha...
Summary: I'd like to substitute all 'foo bar in an efficient way using sed. (I would in fact pre-process well-formedness errors in a file before XML parsing). Note : the files that I'm processing weight 700Mb...