diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-16 11:56:19 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-16 12:24:45 +0200 |
commit | 560f67c9f03072e36d3268c16c2b0a0e810749c1 (patch) | |
tree | 6297d55e369ea20f1de719c88b992a853e1f5b39 | |
parent | 3ae075a51a6c20032a8908615d014e07b750c069 (diff) | |
download | tar-560f67c9f03072e36d3268c16c2b0a0e810749c1.tar.gz |
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)
-rw-r--r-- | doc/tar.texi | 10 |
1 files changed, 5 insertions, 5 deletions
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: |