[Gllug] small Wrinkle

David Irvine co2cool at yahoo.com
Sun Feb 3 15:51:28 UTC 2002


On Sun, 2002-02-03 at 14:38, Darran D. Rimron-Molloy wrote:
> 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 :)
> 
>I suspect getting at it from debian would be a simple matter of running
> dselect (my debian box offline ATM)


RotoRouter:/home/local# apt-cache search dos|grep text |more
...
flip - convert text file line endings between Unix and DOS formats
...

HTH

David


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




More information about the GLLUG mailing list