SCO's hacks to tar and compress

Roger Cornelius rac at sherpa.UUCP
Thu Aug 23 07:24:18 AEST 1990


Has anyone else noticed that the tar command distributed with
SCO UNIX has been hacked to allow magical decompression of
compressed files in an archive.

At least some of the distribution floppies (5 1/4" anyway) for the
version 2 upgrade contain compressed files (sans trailing .Z).  The
extraction phase somehow senses the files are compressed and pipes
them through compress with a -P option.  Try moving compress out of
your path and then extracting files from the upgrade floppies with
tar.  You should see an "execl: No such file or directory" error.

These changes also exist in the version 1 release.

The unfortunate thing about the changes to both tar and compress 
(new -P flag) is they didn't bother to document them.

-- 
Roger A. Cornelius          rac at sherpa.UUCP         uunet!sherpa!rac



More information about the Comp.unix.i386 mailing list