crokett
06-29-2001, 03:51 PM
i need to search for " /255" in a file and replace with "/255"
i have tried piping cat to sed and using:
sed s/" \/255"/\/255/
sed s/ \/255/\/255/
sed s/" /255"//255/
sed s/ /255//255/
none of the above works. i checked man pages and a half a dozen sed tutorials online, none was any help. man pages said something about \cregexprc where c is any char, but that did not work.
thanks
i have tried piping cat to sed and using:
sed s/" \/255"/\/255/
sed s/ \/255/\/255/
sed s/" /255"//255/
sed s/ /255//255/
none of the above works. i checked man pages and a half a dozen sed tutorials online, none was any help. man pages said something about \cregexprc where c is any char, but that did not work.
thanks