From: Sergey Poznyakoff Date: Thu, 16 Nov 2017 09:56:19 +0000 (+0200) Subject: Fix docs X-Git-Tag: release_1_30~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560f67c9f03072e36d3268c16c2b0a0e810749c1;p=thirdparty%2Ftar.git Fix docs * doc/tar.texi: Fix description of the argument to --xattrs-exclude and --xattrs-include option. It is a globbing pattern, not a regex. Fix a typo (LZOP) --- diff --git a/doc/tar.texi b/doc/tar.texi index 64d12688..09c4fbb3 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -3703,8 +3703,8 @@ Specify exclude pattern for xattr keys. @opsummary{xattrs-include} @item --xattrs-include=@var{pattern}. -Specify include pattern for xattr keys. @var{pattern} is a POSIX -regular expression, e.g. @samp{--xattrs-exclude='^user\.'} to include +Specify include pattern for xattr keys. @var{pattern} is a globbing +pattern, e.g. @samp{--xattrs-include='user.*'} to include only attributes from the user namespace. @xref{Extended File Attributes, xattrs-include}. @@ -5629,11 +5629,11 @@ Specify exclude pattern for extended attributes. Specify include pattern for extended attributes. @end table -Here, the @var{pattern} is POSIX regular expression. For example, the +Here, the @var{pattern} is a globbing pattern. For example, the following command: @example -$ @kbd{tar --xattrs --xattrs-exclude='^user\.' -c a.tar .} +$ @kbd{tar --xattrs --xattrs-exclude='user.*' -c a.tar .} @end example will include in the archive @file{a.tar} all attributes, except those @@ -9585,7 +9585,7 @@ create a @command{gzip} compressed archive, @option{-j} @option{--lzip} to create an @asis{lzip} compressed archive, @option{-J} (@option{--xz}) to create an @asis{XZ} archive, @option{--lzma} to create an @asis{LZMA} compressed -archive, @option{--lzop} to create an @asis{LSOP} archive, and +archive, @option{--lzop} to create an @asis{LZOP} archive, and @option{-Z} (@option{--compress}) to use @command{compress} program. For example: