Thanks Damian ... I didn't know about the boundaries in sed and vi.
Quote:
Originally posted by Damian Ibbotson
(the above doesn't take into the 'word' being at the beginning of the line or the end of the line, so you'd have to string a few commands together to get exactly what you want!)
|
And possibly the string has hyphenation. It's a can of worms!