> sed 's/$OLD/$NEW/' $file <-----------------I know this will only > search and replace but how do I do in in-place so that the file itself is > modified.*
sed -a 's/old/new/wfilename' filename It is explained in: cd /usr/share/doc/usd/15.sed/; make paper.txt; less paper.txt Why dont you use the date as the serial?