[Gllug] small Wrinkle

Stig Brautaset stigbrau at start.no
Sun Feb 3 19:23:02 UTC 2002


* Tom Gilbert <tom at linuxbrit.co.uk> spake thus:
> * Stig Brautaset (stigbrau at start.no) wrote:
>> 1. Open the file in vi(m), use ":%s/^M//" (the ^M in obtained by C-v C-M)
> 
> Actually if you're going to open it in vim, you may as well just change
> the fileformat. When you open a dos file in vim, it should say [DOS] on
> the status bar, you can then just :set ff=unix and :w and it'll convert
> the crlfs for you.

Ah, better yet. Thanks Tom.

Stig

-- 
brautaset.org
Registered Linux User 107343

``Oh, how I wish `undo' was ported to everyday life.''

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list