uncompress and tar (was: none)

Scott Amspoker scott at bbxsda.UUCP
Thu May 3 01:00:31 AEST 1990


In article <6420 at star.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
>)uncompress -c $1.'tar'  | tar xtopvwf - <-
>                               ^^        ^^
>                               ^^        What's this?
>                               ^^
>                               On SunOS 4.0.3c only one of `x' and `t'
>                               is allowed; anyway `x' is intended here.
>
>It's a bug in tar: it sends the confirmation message to stdout (!) and
>reads the user input from stdin (!)...  :-(
>In both cases tar should have opened /dev/tty.
>Peter, it seems you're stuck with the temp file if you want to use the
>`w' option.

Also, I might add that on some systems the 'v' switch outputs to
stdout.  So a tar command such as
 
	tar cvf - somefiles

would frequently create a corrupted tar file on stdout.  This may
not show up unless the output is large since the 'v' output appears
to be buffered and could appear rather late in the output file.

-- 
Scott Amspoker
Basis International, Albuquerque, NM
(505) 345-5232
unmvax.cs.unm.edu!bbx!bbxsda!scott



More information about the Comp.unix.wizards mailing list