sed(1) should be able do the trick. sed -e /pn_/s//nuke_/g *
The above command should replace all pn_ to nuke_ in all files in the directory you run the command. /Björn > I am trying to find a way to replace one word in a file > with another word, like windows wordpad find/replace. > > I need to change pn_ to nuke_ and have a 188000 lines to do it on. ugh > > thanks > Mark > > _______________________________________________ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"