Date: Thu, 9 Nov 2000 16:13:25 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Tim Van Holder cc: djgpp AT delorie DOT com Subject: Re: UTOD & DTOU In-Reply-To: <20001109.133204.1139901474.9880@falconsoft.be> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.