Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 14:09:56 -0600
From:      Oscar Bonilla <obonilla@fisicc-ufm.edu>
To:        Bill Fumerola <billf@jade.chc-chimes.com>
Cc:        Seiichirou Hiraoka <flathill@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/converters/unix2dos - Imported sources
Message-ID:  <19990505140956.C33828@fisicc-ufm.edu>
In-Reply-To: <Pine.BSF.3.96.990505160220.23416A-100000@jade.chc-chimes.com>; from Bill Fumerola on Wed, May 05, 1999 at 04:02:50PM -0400
References:  <199905051715.KAA82465@freefall.freebsd.org> <Pine.BSF.3.96.990505160220.23416A-100000@jade.chc-chimes.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 05, 1999 at 04:02:50PM -0400, Bill Fumerola wrote:
> On Wed, 5 May 1999, Seiichirou Hiraoka wrote:
> 
> >   PR:		ports/9866
> >   Submitted by:	obonilla@mailhub.fisicc-ufm.edu
> >   translate ASCII files from DOS (cr/lf) to UNIX (lf)
> 
> This kind of program is insanely useless. Please see the FAQ entry on two
> one line commands to do this.
> 

it is useless if you know the proper incantation :)

actually there are several ways to do this without this program,
but the manpage from doscmd talks about bsd2dos and dos2bsd
which do not exist in FreeBSD. 

I actually wanted this code to be part of the base system since 
Solaris and other OS's have this sort of program by default and
many users comming from those environments expect to find a similar
program.  The program is sooooo trivial that including it in the
base system doesn't cost anything, bsd2dos dos2bsd unix2dos and dos2unix
could all be hard links to the same program and we could answer
questions regarding cr/lf translation with man dos2unix :)

one win is that wildcards are handled correctly (unlike the perl
one-liner).

regards,

-Oscar


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990505140956.C33828>