A Small dos->UNIX convertor

David Niergarth jdnier at execpc.com
Thu Oct 28 17:20:38 EDT 1999


Bernhard Reiter <bernhard at alpha1.csd.uwm.edu> wrote in message
news:slrn81hbci.g.bernhard at alpha1.csd.uwm.edu...
> On 28 Oct 1999 19:20:01 +0200, Magnus L. Hetland <mlh at vier.idi.ntnu.no>
wrote:
> >William Park <parkw at better.net> writes:
> >
> >> On Thu, Oct 28, 1999 at 11:19:28AM +0200, Moshe Zadka wrote:
> >> > Hi!
> >> >
> >> > I wrote a simple dos file -> UNIX file (i.e., removes \r's), with
some
> >> > cute features, such as automatic decend through directories, keep
same
> >> > "last changed" time and more.
> >> >
> >> > You can get it at http://buffy.acmecity.com/sanctum/195/dos2unix
> >> >
> >> > It's in the public domain, so you can do with it whatever you want.
> >>
> >> What's wrong with 'fromdos' and 'todos' avaiable in most Linux
> >> distributions?  You can perform those features using shell.  Since your
> >> target audience is Unix people, there is no need to reinvent wheel.
> >
> >Or dos2unix/unix2dos, also readily available already...? :)
>
> Hey, what about "recode"? :)
> Bernhard

Or even "tr". (But hey, it's nice to have lots of wheels!)

[===========]__[]=<
 OO OO OO OO  OO O








More information about the Python-list mailing list