Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 1997 18:33:21 -0700 (PDT)
From:      "Brian N. Handy" <handy@sag.space.lockheed.com>
To:        "Pedro Giffuni S," <pgiffuni@fps.biblos.unal.edu.co>
Cc:        ports@freebsd.org
Subject:   Re: DOS to UNIX formater?
Message-ID:  <Pine.OSF.3.96.970826183103.9195C-100000@sag.space.lockheed.com>
In-Reply-To: <34039620.25E4@fps.biblos.unal.edu.co>

next in thread | previous in thread | raw e-mail | index | archive | help
>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.OSF.3.96.970826183103.9195C-100000>