From owner-cvs-all Wed May 5 13:11: 4 1999 Delivered-To: cvs-all@freebsd.org Received: from voyager.fisicc-ufm.edu (ip-46-094.guate.net [200.12.46.94]) by hub.freebsd.org (Postfix) with ESMTP id D824414D01; Wed, 5 May 1999 13:10:41 -0700 (PDT) (envelope-from obonilla@voyager.fisicc-ufm.edu) Received: (from obonilla@localhost) by voyager.fisicc-ufm.edu (8.9.3/8.9.3) id OAA42839; Wed, 5 May 1999 14:09:56 -0600 (CST) (envelope-from obonilla) Date: Wed, 5 May 1999 14:09:56 -0600 From: Oscar Bonilla To: Bill Fumerola Cc: Seiichirou Hiraoka , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/converters/unix2dos - Imported sources Message-ID: <19990505140956.C33828@fisicc-ufm.edu> References: <199905051715.KAA82465@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Bill Fumerola on Wed, May 05, 1999 at 04:02:50PM -0400 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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