Mail Archives: djgpp/2000/11/09/09:16:22
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 -