On Mon December 10 2007 05:48:47 pm Aaron Kulkis wrote:
> the following inserts BAR before every occurrance of foo:
>
> s/foo/BARfoo

's/foo/BARfoo' only substitutes the first occurrance of 'foo'.

Append the 'g'lobal flag to replace all occurrances, i.e.:

s/foo/BARfoo/g'

regards,

Carl

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to