Bash

Nils O. Selåsdal nos at utel.no
Wed Jan 21 08:26:23 UTC 2004


On Thu, 2004-01-22 at 07:13, Chadley Wilson wrote:
> 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
This is probably the wrong mailing list, though try perl,
perl -pi -e "s/something/somethingelse/g"

-- 
Vennlig hilsen/Best Regards
Nils Olav Selåsdal
System Engineer
UtelSystems a/s
Tlf: 370 45 431
Mob: 943 01 380
w w w . u t e l s y s t e m s . c o m









More information about the devel mailing list