[BusyBox] does BB "tar" recognize the "-" filename for stdin?

Robert P. J. Day rpjday at mindspring.com
Mon May 10 15:55:53 UTC 2004


  i have a script that attempts to unload a gzipped tar file in a remote
directory with the incantation:

  ( cd <remote dir> ; tar xzf - <subdir> ) < (gzipped tar file)

but this doesn't dump any contents in the remote directory.  does BB's
tar command recognize the above syntax of reading from stdin?  or is this 
some side effect of stdin and ash?  or what?

rday



More information about the busybox mailing list