A formatting query

Alex Satrapa grail at goldweb.com.au
Thu Feb 6 08:18:32 EST 2003


On Thursday, February 6, 2003, at 07:26 , Alfred wrote:

> grab "dos2unix" (its on freshmeat). It does the job well.
>
> You could also easily hack something up using perl/sed/et al... 
> Personally I find it easier to install the dos2unix rpm :)

Using vim:

# vim -b dos_text.txt

:%s/^V^M//g

Usually works for me :)  Note that ^V means press Ctrl+V at the same 
time, same for ^M.



More information about the linux mailing list