Need help.. I want to replace a line in a file with a variable
Posted on 2004-10-08
Here is what I have...
the value of the variable is actually the modified Targetline:
So I have been trying to find a sed line or awk that would assist me. I want to search the file based on the second field (":" delimited btw). The second field will not be changing and should be unique throughout the file.
I am using bash,awk,and sed.
Thank in advance!!