I am using sed, string replace.

How do I use this to find occurrences of a whole word such as cat without 
getting hits on words like cattle, which have the string cat embedded in the 
word?

The info page suggests that;
sed -e s/\bcat\b/pussy/g
will work, but doesn't.

Cheers Ross Drummond

Reply via email to