From owner-freebsd-questions Wed Sep 25 04:25:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA01758 for questions-outgoing; Wed, 25 Sep 1996 04:25:32 -0700 (PDT) Received: from gatekeeper.barcode.co.il (gatekeeper.barcode.co.il [192.116.93.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA01706 for ; Wed, 25 Sep 1996 04:25:25 -0700 (PDT) Received: (from nadav@localhost) by gatekeeper.barcode.co.il (8.7.5/8.6.12) id NAA06704; Wed, 25 Sep 1996 13:16:07 +0200 (IST) Date: Wed, 25 Sep 1996 13:16:07 +0200 (IST) From: Nadav Eiron To: "Christoph P. Kukulies" cc: hmmm , Jeremy Sigmon , "Randall D. DuCharme" , questions@FreeBSD.org Subject: Re: MS-DOS text files in UNIX In-Reply-To: <199609250806.KAA09557@gilberto.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 25 Sep 1996, Christoph P. Kukulies wrote: > hmmm writes: > > On Tue, 24 Sep 1996, Jeremy Sigmon wrote: > > > > > > I've read numerous things about adding the CR-LF back into text files > > > > for use with DOS, but what about the other way?? Is there a way to > > > > remove > > > > that annoying ^M from a DOS text file under FBSD? I've tried many > > > > things > > > > but nothing short of removing them one-by-one seems to work. > > > > apple/mac uses CR > > dos/win uses LF/CR > dos/win uses CR/LF > VMS uses CR/LF Not accurate. VMS will more or less use whatever you'll tell it to, and will gladly convert to any other format. VMS has literaly dozens of file formats, and only some of them require line terminators at all. For those that do, it is true that CR/LF is the default, but it's easy to write a FDL description file for almost any other terminator, and use CONVERT/FDL to convert the terminators. Anyhow, as someone pointed out, UNIX is the oldest of all the OS's mentioned in this discussion (though the heritage of CR/LF in VMS came from RSX which is about as old as UNIX). > > unixes use LF > > > > why didn't unix choose CR as the standard EOL? > > (at least we'd be left w/only 2 standards) > > what a mess of such a simple stupid thing! > > > > -- > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > Nadav