On Wed, Apr 04, 2007 at 01:09:12PM -0600, Bdale Garbee wrote: > On Wed, 2007-04-04 at 18:31 +0200, Wim De Smet wrote: > > Package: tar > > Version: 1.16-2 > > Severity: wishlist > > > > The current tar manpage doesn't document --strip. It's really handy in > > some cases and I had to look a while before I found it. Maybe a short > > entry in the manpage would be useful? > > Thanks for the suggestion. The man page is created and maintained by > Debian, so it gets out of sync and has never been really complete. If > you'd like to suggest some text, and/or provide me a patch to the man > page source, that would get this done more quickly... ;-) >
I've supplied a small patch with a short explanation of the feature. I hope it's all properly formatted. greets, Wim
--- tar.1.orig 2007-04-06 15:37:04.000000000 +0200 +++ tar.1 2007-04-06 15:39:37.000000000 +0200 @@ -247,6 +247,10 @@ .B \-\-show\-omitted\-dirs mention directories that are being skipped over .TP +.B \-\-strip, \-\-strip\-components N +Strips the first N components from archive members' pathnames when +unpacking. +.TP .B \-\-suffix SUFFIX append SUFFIX to make backup files (default ~) .TP

