* Chadley Wilson <chadley at pinteq.co.za> [22-Jan-2004 08:13]: > Hi can anyone please remind how to replace words in a text doc or script > using bash > eg replace all the word john with david cat oldfile.txt | sed -e 's/john/david/g' > newfile.txt -- Leonid Mamtchenkov. http://www.leonid.maks.net