From: Sergey Poznyakoff Date: Wed, 7 Jun 2006 14:57:29 +0000 (+0000) Subject: Update X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=6e2760f7d73d86809503c767b5d167d3e89556c8;p=chaz%2Ftar Update --- diff --git a/ChangeLog b/ChangeLog index 2a4b921..7be59ca 100644 --- a/ChangeLog +++ b/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 diff --git a/doc/tar.texi b/doc/tar.texi index 87538cc..d76ec51 100644 --- a/doc/tar.texi +++ b/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