I need a sed script to substitute text from a 2nd file.
For Example:
I have a file (file1.txt) that has the string 08/01/2004 in the middle of it.
I need a sed script to write all records from
file1.txt to file3.text and to substitute from file2.txt
09/01/2004 (that's the only thing in file2.txt) when it finds the 08/01/2004 in file1.txt before writing to file3.txt
Thanks,
Jim
For Example:
I have a file (file1.txt) that has the string 08/01/2004 in the middle of it.
I need a sed script to write all records from
file1.txt to file3.text and to substitute from file2.txt
09/01/2004 (that's the only thing in file2.txt) when it finds the 08/01/2004 in file1.txt before writing to file3.txt
Thanks,
Jim