[Gllug] vi question

Tethys tet at accucard.com
Thu Aug 29 20:08:28 UTC 2002


>You can convert DOS text files to Unix format using the dos2unix
>utility.  If you are using Vim then you can do
>
>:set ff=3Dunix
>
>and then save the file.

Or in non-vim versions of vi:

	:%s/^M$//

where ^M is typed as ctrl-v ctrl-m

Tet

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




More information about the GLLUG mailing list