On Tue, 2003-07-29 at 23:00, Brett Fenton wrote:
> On Wed, 2003-07-30 at 08:54, Angus Lees wrote:
> 
> > vi: :%s/.$//
> >  - which is a cop-out, since I can never remember how to put a literal
> >    \r in
> 
> :%s;\r;;g

or ctrl-v ctrl-m to get the character you want in the regex.

James.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to