Hello,
in the info pages of tar 1.15.90, the to-command option is called
to-program:
$ tar xjf tar-1.15.90.tar.bz2 --to-command 'grep -H --label="$TAR_FILENAME"
to-program' --ignore-command-error
tar-1.15.90/doc/tar.texi:@opindex to-program
tar-1.15.90/doc/tar.texi:@item [EMAIL PROTECTED]
tar-1.15.90/doc/tar.info-1:`--to-program=COMMAND'
tar-1.15.90/doc/tar.info-2:* to-program: Writing to
an External Program.
(sorry, I like this too much ;))
Although I don't know anything about creating info documents, I hope,
the attached patch is not too stupid.
Thanks, Hansjörg
diff -ur tar-1.15.90.orig/doc/tar.texi tar-1.15.90/doc/tar.texi
--- tar-1.15.90.orig/doc/tar.texi 2006-02-19 20:29:18.000000000 +0100
+++ tar-1.15.90/doc/tar.texi 2006-02-20 04:34:56.000000000 +0100
@@ -4649,8 +4649,8 @@
file to the standard input of an external program:
@table @option
[EMAIL PROTECTED] to-program
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] to-command
[EMAIL PROTECTED] [EMAIL PROTECTED]
Extract files and pipe their contents to the standard input of
@var{command}. When this option is used, instead of creating the
files specified, @command{tar} invokes @var{command} and pipes the
_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar