Mail Archives: djgpp/1999/07/29/18:42:35
-: > [4] The main reason any of this matters to me is because I move lots of
-: > files back and forth from work (Solaris 2.7) to home (djgpp). I was
-:
-: I use a C program or perl script to detect non-ascii characters (like
-: NUL or 0x80-0x9f) to select text vs binary files (html vs gif for
-: example).
...and then run the text files only through `dtou'?
I was thinking to detect whether a given text file (e.g., c source,
makefile, TeX source, etc). has already been run through `dtou' before
it gets added to the tarball. If not, apply `dtou' before adding it to
the archive. In other words, I want to be sure that every text file in
the tarball has been `dtou'ed, so I can avoid the need for `dos2unix'
after unpacking everything on a true Unix box.
It doesn't matter with files transported from office (Solaris) to home
(djgpp), because djgpp is so good about working with either format.
- Raw text -