From owner-freebsd-ports Tue Aug 26 18:33:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA23446 for ports-outgoing; Tue, 26 Aug 1997 18:33:15 -0700 (PDT) Received: from sag.space.lockheed.com (sag.space.lockheed.com [192.68.162.134]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id SAA23440 for ; Tue, 26 Aug 1997 18:33:12 -0700 (PDT) Received: from localhost by sag.space.lockheed.com; (5.65v3.2/1.1.8.2/21Nov95-0423PM) id AA00343; Tue, 26 Aug 1997 18:33:21 -0700 Date: Tue, 26 Aug 1997 18:33:21 -0700 (PDT) From: "Brian N. Handy" Reply-To: "Brian N. Handy" To: "Pedro Giffuni S," Cc: ports@freebsd.org Subject: Re: DOS to UNIX formater? In-Reply-To: <34039620.25E4@fps.biblos.unal.edu.co> Message-Id: X-Files: The truth is out there Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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