[Gllug] small Wrinkle

Darran D. Rimron-Molloy ddrm at digital-science.net
Sun Feb 3 14:38:04 UTC 2002


Stig Brautaset said:

> > have looked around for dos2linux / dos2unix, couldn't find it in my
> > setup so forgot about it.

> 1. Open the file in vi(m), use ":%s/^M//" (the ^M in obtained
> by C-v C-M)
> 2. tr
> 3. sed
> 4. I swear I had a two small utilities installed called todos and
>    tounix or something similar that would do this, but they
>    seem to have disappeared. Maybe their function are duplicated
>    in the "tcs" package.)
>
> Sorry, could not resist :)

On my nearest box (deadrat 7.1)

Executing zshrc.
(pts) ~  :o) rpm -q -f `which dos2unix`
dos2unix-3.1-6
(pts) ~  :o) rpm -q -f `which unix2dos`
unix2dos-2.2-11

I suspect getting at it from debian would be a simple matter of running
dselect (my debian box offline ATM)

	-Darran


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




More information about the GLLUG mailing list