Package: tar
Version: 1.16-2
Tags: patch

Here's an additional script to list options undocumented by the manpage:
tar --help |sed -nre 's/^ *(-[^=, []*).*/\1/p' | \
grep -Fxvf <(man tar |sed -nre 's/^ *(-[^=, []*).*/\1/p')

--- -   2007-07-17 17:21:04.354727000 -0400
+++ /tmp/tar1.gz.687    2007-07-17 17:21:04.000000000 -0400
@@ -1,5 +1,4 @@
-.\" @(#)tar.1 1.11.1 93/19/22 PJV;
-.TH TAR 1 "15 May 2006"
+.TH TAR 1 "17 Jul 2007"
 .SH NAME
 tar \- The GNU version of the tar archiving utility
 .SH SYNOPSIS
@@ -258,6 +257,9 @@
 .B \-\-show\-omitted\-dirs
 mention directories that are being skipped over
 .TP
+.BI \-\-strip\-components " n"
+Strip the given number of leading directory components
+.TP
 .B \-\-suffix SUFFIX
 append SUFFIX to make backup files (default ~)
 .TP 
@@ -267,6 +269,9 @@
 .B \-\-totals
 display total bytes written after creating an archive
 .TP
+.BI \-\-transform " expr"
+Transform filenames with the given sed expression
+.TP
 .B \-U, \-\-unlink\-first
 unlink & recreate files instead of overwriting
 .TP

--- -   2007-07-17 17:21:04.354727000 -0400
+++ /tmp/tar1.gz.687    2007-07-17 17:21:04.000000000 -0400
@@ -1,5 +1,4 @@
-.\" @(#)tar.1 1.11.1 93/19/22 PJV;
-.TH TAR 1 "15 May 2006"
+.TH TAR 1 "17 Jul 2007"
 .SH NAME
 tar \- The GNU version of the tar archiving utility
 .SH SYNOPSIS
@@ -258,6 +257,9 @@
 .B \-\-show\-omitted\-dirs
 mention directories that are being skipped over
 .TP
+.BI \-\-strip\-components " n"
+Strip the given number of leading directory components
+.TP
 .B \-\-suffix SUFFIX
 append SUFFIX to make backup files (default ~)
 .TP 
@@ -267,6 +269,9 @@
 .B \-\-totals
 display total bytes written after creating an archive
 .TP
+.BI \-\-transform " expr"
+Transform filenames with the given sed expression
+.TP
 .B \-U, \-\-unlink\-first
 unlink & recreate files instead of overwriting
 .TP

Reply via email to