Hi
I have a line in a file and want to append it with another word
for example
search dk.siroe.com
want to append it.siroe.com
search dk.siroe.com it.siroe.com
any idea?
thx
Hi
I have a line in a file and want to append it with another word
for example
search dk.siroe.com
want to append it.siroe.com
search dk.siroe.com it.siroe.com
any idea?
thx
Are those entries the only things in either/both files?
Or, how will you be specifying the append string?
sed 's/search dk.siroe.com/& it.siroe.com/' somefile > newfile
mv newfile somefile
check the sed output first