Sergey Poznyakoff 21 年之前
父節點
當前提交
8286de0946
共有 2 個文件被更改,包括 36 次插入17 次删除
  1. 30 11
      NEWS
  2. 6 6
      doc/tar.texi

+ 30 - 11
NEWS

@@ -5,7 +5,12 @@ See the end for copying conditions.
 
 
 Please send GNU tar bug reports to <bug-tar@gnu.org>
 Please send GNU tar bug reports to <bug-tar@gnu.org>
 
 
+version 1.14.1 - Sergey Poznyakoff, <DATE>
 
 
+* Renamed --strip-path to --strip-components for consistency with
+  the GNU convention.
+
+
 version 1.14 - Sergey Poznyakoff, 2004-05-11
 version 1.14 - Sergey Poznyakoff, 2004-05-11
 
 
 * Added support for POSIX.1-2001 and ustar archive formats.
 * Added support for POSIX.1-2001 and ustar archive formats.
@@ -81,28 +86,34 @@ tar.
 
 
 * Bug fixes.
 * Bug fixes.
 
 
+
 version 1.13.25 - Paul Eggert, 2001-09-26
 version 1.13.25 - Paul Eggert, 2001-09-26
 
 
 * Bug fixes.
 * Bug fixes.
 
 
+
 version 1.13.24 - Paul Eggert, 2001-09-22
 version 1.13.24 - Paul Eggert, 2001-09-22
 
 
 * New option --overwrite-dir.
 * New option --overwrite-dir.
 * Fixes for buffer overrun, porting, and copyright notice problems.
 * Fixes for buffer overrun, porting, and copyright notice problems.
 * The message translations for Korean are available again.
 * The message translations for Korean are available again.
 
 
+
 version 1.13.23 - Paul Eggert, 2001-09-13
 version 1.13.23 - Paul Eggert, 2001-09-13
 
 
 * Bug, porting, and copyright notice fixes.
 * Bug, porting, and copyright notice fixes.
 
 
+
 version 1.13.22 - Paul Eggert, 2001-08-29
 version 1.13.22 - Paul Eggert, 2001-08-29
 
 
 * Bug fixes.
 * Bug fixes.
 
 
+
 version 1.13.21 - Paul Eggert, 2001-08-28
 version 1.13.21 - Paul Eggert, 2001-08-28
 
 
 * Porting and copyright notice fixes.
 * Porting and copyright notice fixes.
 
 
+
 version 1.13.20 - Paul Eggert, 2001-08-27
 version 1.13.20 - Paul Eggert, 2001-08-27
 
 
 * Some bugs were fixed:
 * Some bugs were fixed:
@@ -129,6 +140,7 @@ version 1.13.20 - Paul Eggert, 2001-08-27
   The translation for Korean has been withdrawn due to encoding errors.
   The translation for Korean has been withdrawn due to encoding errors.
   It will be reissued once those are fixed.
   It will be reissued once those are fixed.
 
 
+  
 version 1.13.19 - Paul Eggert, 2001-01-13
 version 1.13.19 - Paul Eggert, 2001-01-13
 
 
 * The -I option has been withdrawn, as it was buggy and confusing.
 * The -I option has been withdrawn, as it was buggy and confusing.
@@ -137,6 +149,7 @@ version 1.13.19 - Paul Eggert, 2001-01-13
 * With an option like -N DATE, if DATE starts with "/" or ".", it is taken
 * With an option like -N DATE, if DATE starts with "/" or ".", it is taken
   to be a file name; the last-modified time of that file is used as the date.
   to be a file name; the last-modified time of that file is used as the date.
 
 
+  
 version 1.13.18 - Paul Eggert, 2000-10-29
 version 1.13.18 - Paul Eggert, 2000-10-29
 
 
 * Some security problems have been fixed.  `tar -x' now modifies only
 * Some security problems have been fixed.  `tar -x' now modifies only
@@ -167,11 +180,13 @@ version 1.13.18 - Paul Eggert, 2000-10-29
   
   
 * `tar --delete -f -' now works again.
 * `tar --delete -f -' now works again.
 
 
+
 version 1.13.17 - Paul Eggert, 2000-01-07.
 version 1.13.17 - Paul Eggert, 2000-01-07.
 
 
 * `tar --delete -f -' is no longer allowed; it was too buggy.
 * `tar --delete -f -' is no longer allowed; it was too buggy.
 * Diagnostic messages have been made more regular and consistent.
 * Diagnostic messages have been made more regular and consistent.
 
 
+
 version 1.13.16 - Paul Eggert, 1999-12-13.
 version 1.13.16 - Paul Eggert, 1999-12-13.
 
 
 * By default, tar now refuses to overwrite an existing file when
 * By default, tar now refuses to overwrite an existing file when
@@ -215,17 +230,20 @@ version 1.13.16 - Paul Eggert, 1999-12-13.
 * tar now ignores socket files when creating an archive.
 * tar now ignores socket files when creating an archive.
   Previously tar archived sockets as fifos, which caused problems.
   Previously tar archived sockets as fifos, which caused problems.
 
 
+  
 version 1.13.15 - Paul Eggert, 1999-12-03.
 version 1.13.15 - Paul Eggert, 1999-12-03.
 
 
 * If a file's ctime changes when being archived, report an error.
 * If a file's ctime changes when being archived, report an error.
   Previously tar looked at mtime, which missed some errors.
   Previously tar looked at mtime, which missed some errors.
 
 
+  
 version 1.13.14 - Paul Eggert, 1999-11-07.
 version 1.13.14 - Paul Eggert, 1999-11-07.
 
 
 * New translations ja, pt_BR.
 * New translations ja, pt_BR.
 * New options --help and --version for rmt.
 * New options --help and --version for rmt.
 * Ignore Solaris door files when creating an archive.
 * Ignore Solaris door files when creating an archive.
 
 
+
 version 1.13.13 - Paul Eggert, 1999-10-11.
 version 1.13.13 - Paul Eggert, 1999-10-11.
 
 
 * Invalid headers in tar files now elicit errors, not just warnings.
 * Invalid headers in tar files now elicit errors, not just warnings.
@@ -233,6 +251,7 @@ version 1.13.13 - Paul Eggert, 1999-10-11.
 * If you specify an invalid date, `tar' now substitutes (time_t) -1.
 * If you specify an invalid date, `tar' now substitutes (time_t) -1.
 * `configure --with-dmalloc' is no longer available.
 * `configure --with-dmalloc' is no longer available.
 
 
+
 version 1.13.12 - Paul Eggert, 1999-09-24.
 version 1.13.12 - Paul Eggert, 1999-09-24.
 
 
 * `tar' now supports hard links to symbolic links.
 * `tar' now supports hard links to symbolic links.
@@ -263,7 +282,7 @@ version 1.13.12 - Paul Eggert, 1999-09-24.
 
 
 * Some diagnostics have been reworded for consistency.
 * Some diagnostics have been reworded for consistency.
 
 
-
+
 version 1.13.11 - Paul Eggert, 1999-08-23.
 version 1.13.11 - Paul Eggert, 1999-08-23.
 
 
 * The short name of the --bzip option has been changed to -I,
 * The short name of the --bzip option has been changed to -I,
@@ -283,14 +302,14 @@ version 1.13.11 - Paul Eggert, 1999-08-23.
   numeric UTC offsets like `-0500' instead of abbreviations like
   numeric UTC offsets like `-0500' instead of abbreviations like
   `EST', as abbreviations are not standardized and are ambiguous.
   `EST', as abbreviations are not standardized and are ambiguous.
 
 
-
+
 version 1.13.10 - Paul Eggert, 1999-08-20.
 version 1.13.10 - Paul Eggert, 1999-08-20.
 
 
 * `tar' now uses signed base-64 when outputting header values that are
 * `tar' now uses signed base-64 when outputting header values that are
   out of the range of the standard unsigned base-8 format.  [This
   out of the range of the standard unsigned base-8 format.  [This
   change was superseded in 1.13.12, described above.]
   change was superseded in 1.13.12, described above.]
 
 
-
+
 version 1.13.9 - Paul Eggert, 1999-08-18.
 version 1.13.9 - Paul Eggert, 1999-08-18.
 
 
 * `tar' now writes two zero blocks at end-of-archive instead of just one.
 * `tar' now writes two zero blocks at end-of-archive instead of just one.
@@ -302,14 +321,14 @@ version 1.13.9 - Paul Eggert, 1999-08-18.
 * `tar' now reads buggy tar files that have a null byte at the start of a
 * `tar' now reads buggy tar files that have a null byte at the start of a
   numeric header field.
   numeric header field.
 
 
-
+
 version 1.13.8 - Paul Eggert, 1999-08-16.
 version 1.13.8 - Paul Eggert, 1999-08-16.
 
 
 * For compatibility with traditional `tar', intermediate directories
 * For compatibility with traditional `tar', intermediate directories
   created automatically by root are no longer given the uid and gid of
   created automatically by root are no longer given the uid and gid of
   the original file or directory.
   the original file or directory.
 
 
-
+
 version 1.13.7 - Paul Eggert, 1999-08-14.
 version 1.13.7 - Paul Eggert, 1999-08-14.
 
 
 * --listed-incremental and --newer are now incompatible options.
 * --listed-incremental and --newer are now incompatible options.
@@ -319,7 +338,7 @@ version 1.13.7 - Paul Eggert, 1999-08-14.
 
 
 * --diff without --absolute-names no longer falls back on absolute names.
 * --diff without --absolute-names no longer falls back on absolute names.
 
 
-
+
 version 1.13.6 - Paul Eggert, 1999-08-11.
 version 1.13.6 - Paul Eggert, 1999-08-11.
 
 
 * An --exclude pattern containing / now excludes a file only if it matches an
 * An --exclude pattern containing / now excludes a file only if it matches an
@@ -346,30 +365,30 @@ version 1.13.6 - Paul Eggert, 1999-08-11.
 
 
 * New option -y or --bzip2 for bzip2 compression, by popular request.
 * New option -y or --bzip2 for bzip2 compression, by popular request.
 
 
-
+
 version 1.13.5 - Paul Eggert, 1999-07-20.
 version 1.13.5 - Paul Eggert, 1999-07-20.
 
 
 * Do the delayed updates of file metadata even after a fatal error.
 * Do the delayed updates of file metadata even after a fatal error.
 
 
-
+
 version 1.13.4 - Paul Eggert, 1999-07-20.
 version 1.13.4 - Paul Eggert, 1999-07-20.
 
 
 * Do not chmod unless we are root or the -p option was given;
 * Do not chmod unless we are root or the -p option was given;
   this matches historical practice.
   this matches historical practice.
 
 
-
+
 version 1.13.3 - Paul Eggert, 1999-07-16.
 version 1.13.3 - Paul Eggert, 1999-07-16.
 
 
 * A path name is excluded if any of its file name components matches an
 * A path name is excluded if any of its file name components matches an
   excluded pattern, even if the path name was specified on the command line.
   excluded pattern, even if the path name was specified on the command line.
   Also see 1.13.6 for later changes in this area.
   Also see 1.13.6 for later changes in this area.
 
 
-
+
 version 1.13.2 - Paul Eggert, 1999-07-14.
 version 1.13.2 - Paul Eggert, 1999-07-14.
 
 
 * Bug reporting address changed to <bug-tar@gnu.org>.
 * Bug reporting address changed to <bug-tar@gnu.org>.
 
 
-
+
 version 1.13.1 - Paul Eggert, 1999-07-12.
 version 1.13.1 - Paul Eggert, 1999-07-12.
 
 
 * Bug fixes only.
 * Bug fixes only.

+ 6 - 6
doc/tar.texi

@@ -428,10 +428,10 @@
 @set xref-starting-file @xref{Scarce}
 @set xref-starting-file @xref{Scarce}
 @set pxref-starting-file @pxref{Scarce}
 @set pxref-starting-file @pxref{Scarce}
 
 
-@set op-strip-path @kbd{--strip-path} 
-@set ref-strip-path @ref{--strip-path}
-@set xref-strip-path @xref{--strip-path}
-@set pxref-strip-path @pxref{--strip-path}
+@set op-strip-components @kbd{--strip-components} 
+@set ref-strip-components @ref{--strip-components}
+@set xref-strip-components @xref{--strip-components}
+@set pxref-strip-components @pxref{--strip-components}
 
 
 @set op-suffix @kbd{--suffix=@var{suffix}}
 @set op-suffix @kbd{--suffix=@var{suffix}}
 @set ref-suffix @ref{Backup options}
 @set ref-suffix @ref{Backup options}
@@ -3266,13 +3266,13 @@ This option affects extraction only; @command{tar} will skip extracting
 files in the archive until it finds one that matches @var{name}.
 files in the archive until it finds one that matches @var{name}.
 @xref{Scarce}.
 @xref{Scarce}.
 
 
-@item --strip-path=@var{number}
+@item --strip-components=@var{number}
 Strip given @var{number} of leading components from file names before
 Strip given @var{number} of leading components from file names before
 extraction. For example, if archive @file{archive.tar} contained
 extraction. For example, if archive @file{archive.tar} contained
 @file{/some/file/name}, then running
 @file{/some/file/name}, then running
 
 
 @smallexample
 @smallexample
-tar --extract --file archive.tar --strip-path=2
+tar --extract --file archive.tar --strip-components=2
 @end smallexample
 @end smallexample
 
 
 @noindent
 @noindent