X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=NEWS;h=76917fb4a7a9de9dd48d86b67b259d915c1de5ae;hb=c5fd5f9e8dd663fe9b6fe8b2a07b435569c7b785;hp=229523447197e68dff51a1a3701911548c107a47;hpb=f1fe157dfefccd2c537a1b50525269d79d52fcb4;p=chaz%2Ftar diff --git a/NEWS b/NEWS index 2295234..76917fb 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,54 @@ Please send GNU tar bug reports to version 1.15.91 - Sergey Poznyakoff, (CVS version) +* Incompatible changes + +** Globbing + +Previous versions of GNU tar assumed shell-style globbing when +extracting from or listing an archive. For example: + + tar xf foo.tar '*.c' + +would extract all files whose names end in '.c'. This behavior +was not documented and was incompatible with traditional tar +implementations. Therefore, starting from this version, GNU tar +no longer uses globbing by default. For example, the above invocation +is now interpreted as a request to extract from the archive the file +named '*.c'. + +To treat member names as globbing patterns, use --wildcards option. +So, if you wish tar to mimic the behavior of versions up to 1.15.90, +set 'TAR_OPTIONS=--wildcards'. + +The exact way tar interprets member names is controlled by the +following command line options: + + --wildcards use wildcards + --anchored patterns match file name start + --ignore-case ignore case + --wildcards-match-slash wildcards match `/' + +Each of these options has a '--no-' counterpart that disables its +effect (e.g. --no-wildcards). + +These options affect both the interpretation of member names from +command line and that of the exclusion patterns (given with --exclude +and --exclude-from options). The defaults are: + + 1. For member names: --no-wildcards --anchored + 2. For exclusion patterns: --wildcards --no-anchored --wildcards-match-slash + +The options can appear multiple times in the command line, thereby +changing the way command line arguments are interpreted. For example, +to use case-insensitive matching in exclude patterns and to revert to +case-sensitive matching for the rest of command line, one could write: + + tar xf foo.tar --ignore-case --exclude-from=FILE --no-ignore-case file.name + +** Short option -l is now an alias of --check-links option, which complies +with UNIX98. This ends the transition period started with version 1.14. + * New features ** New incremental snapshot file format keeps information about file names