Sergey Poznyakoff %!s(int64=19) %!d(string=hai) anos
pai
achega
6e2760f7d7
Modificáronse 2 ficheiros con 10 adicións e 4 borrados
  1. 4 0
      ChangeLog
  2. 6 4
      doc/tar.texi

+ 4 - 0
ChangeLog

@@ -2,7 +2,11 @@
 
 	* src/transform.c (transform_name_fp): Run fun even if
 	_transform_name_to_obstack returns false.
+	(_transform_name_to_obstack,set_transform_expr): Implement GNU
+	extension case conversion operations.
+
 	* doc/tar.texi (transform): Document the option.
+	(transform): 
 
 2006-06-02  Sergey Poznyakoff  <gray@gnu.org.ua>
 

+ 6 - 4
doc/tar.texi

@@ -6932,10 +6932,6 @@ replacement for each file name part that matches @var{regexp}.  Both
 @var{regexp} and @var{replace} are described in detail in
 @ref{The "s" Command, The "s" Command, The `s' Command, sed, GNU sed}.
 
-Notice, however, that the following @command{sed}-specific escapes
-are not supported in @var{replace}: @samp{\L}, @samp{\l}, @samp{\U},
-@samp{\u}, @samp{\E}.
-                    
 The supported @var{flags} are:
 
 @table @samp
@@ -6999,6 +6995,12 @@ $ @kbd{tar --transform='s,/*[^/]*/[^/]*/,,' -x arch.tar}
 $ @kbd{tar --transform 's,^,/prefix/,' -x arch.tar}
 @end smallexample
 
+@item Convert each file name to lower case:
+
+@smallexample
+$ @kbd{tar --transform 's/.*/\L&/' -x arch.tar}
+@end smallexample
+
 @end enumerate
 
 Unlike @option{--strip-components}, @option{--transform} can be used