delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/09/09:16:22

Date: Thu, 9 Nov 2000 16:13:25 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tim Van Holder <tim DOT vanholder AT falconsoft DOT be>
cc: djgpp AT delorie DOT com
Subject: Re: UTOD & DTOU
In-Reply-To: <20001109.133204.1139901474.9880@falconsoft.be>
Message-ID: <Pine.SUN.3.91.1001109161040.22401A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 9 Nov 2000, Tim Van Holder wrote:

> Aren't there unix2dos and dos2unix programs available for Linux? I dimly
> remeber those from my HP-UX days. They're filters, so usage won't be
> exactly the same as dtou/utod though.

Exactly!  Since these programs read stdin and write stdout, they cannot 
be used to convert many files in one go, and they also don't preserve 
file time stamps (depending on your case, this might cause the entire 
monster project be recompiled because Make thinks all files changed).

In addition, some versions of dos2unix/unix2dos convert the non-ASCII 
characters as well (i.e., they try to be a poor man's recode).  This is 
not what you usually want.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019