Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 1997 11:39:42 -0700 (PDT)
From:      David Holloway <daveh@tamis.com>
To:        "Brian N. Handy" <handy@sag.space.lockheed.com>
Cc:        "Pedro Giffuni S," <pgiffuni@fps.biblos.unal.edu.co>, ports@FreeBSD.ORG
Subject:   Re: DOS to UNIX formater?
Message-ID:  <Pine.BSF.3.91.970827113838.3843A-100000@sage>
In-Reply-To: <Pine.OSF.3.96.970826183103.9195C-100000@sag.space.lockheed.com>

next in thread | previous in thread | raw e-mail | index | archive | help
this is also a trivial programming project 
or.. search the net for dos2unix.c


On Tue, 26 Aug 1997, Brian N. Handy wrote:

> >I think I have a future port for AutoCAD's Diesel language in DOS's
> >CR/LF format, is there any command to clean the file for UNIX (without
> >mtools)?
> 
> Isn't the only thing you have to do is strip out the carriage returns?
> How about something like:
> 
> 		sed 's/$\r//' file > file.out
> 
> ...or am I missing something fundamentally important here?
> 
> 
> Brian
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970827113838.3843A-100000>