Mail Archives: djgpp/1998/08/30/10:11:27
On Fri, 28 Aug 1998, Horst Kraemer wrote:
> main <dos.txt | program_expecting_unix_style_text_from_stdin
I hope you are aware that DJGPP comes with a utility called DTOU.EXE
that does that, and much more (e.g., it can convert several files at
once, or even an entire directory tree, and also preserves the time
stamp of the files it converts).
Also, please note that programs which expect Unix-style text, when
they are compiled with a DOS/Windows compiler, will happily read
DOS-style text as well, since the library strips off the CR
characters.
So I really don't understand why did you need the above.
- Raw text -