Newsgroups: comp.binaries.ibm.pc.d
Path: utzoo!utgpu!watserv1!maytag!mks.com!andy
From: andy@mks.com (Andy Toy)
Subject: Re: Is there a MSDOS .Z uncompress utility?
Date: Mon, 15 Apr 91 06:20:26 GMT
Message-ID: <1991Apr15.062026.4025@mks.com>
Organization: Mortice Kern Systems, Waterloo, Ontario, CANADA
References: <1991Apr10.110952.13111@uwasa.fi> <2360@ccadfa.adfa.oz.au> <l89G5t9m1@cs.psu.edu>

In article <l89G5t9m1@cs.psu.edu> (Michael D Mellinger) writes:
>In article <2360@ccadfa.adfa.oz.au> (Joe Petrolito) writes:
>[discussing LF to CR/LF conversion of UNIX text files]
>   Am I asking for too much, or is there a way to do this conversion
>   automatically somewhere during the uncompress/tar process?
>
>Has GNU tar been ported to DOS?  tar xfz will do the trick, if it has
>been.

Having LF converted to CR/LF as the default by tar is a bad idea.  Just
think of all the binaries which would no longer run after untarring.
Why would GNU tar ported to MS-DOS do such a thing when invoked as
`tar xfz file.tar.Z'?  It should only extract the contents of the
compressed tar file without changing the contents.  However, if one
knows that all the files in the tar file are text then an option to do
the conversion is desirable.
-- 
Andy Toy, Mortice Kern Systems Inc.,       Internet: andy@mks.com
  35 King Street North, Waterloo,       UUCP: uunet!watmath!mks!andy
      Ontario, N2J 2W9 CANADA      Phone: 519-884-2251  FAX: 519-884-8861
