From 5108a3dc41c4dac392d14c1110e168e38fb71cbc Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 8 Jun 2006 09:34:03 +0000 Subject: [PATCH] Update --- doc/tar.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/tar.texi b/doc/tar.texi index 221d128..ee123e7 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -6990,26 +6990,26 @@ Here are several examples of @option{--transform} usage: @item Extract @file{usr/} hierarchy into @file{usr/local/}: @smallexample -$ @kbd{tar --transform='s,usr/,usr/local/,' -x arch.tar} +$ @kbd{tar --transform='s,usr/,usr/local/,' -x -f arch.tar} @end smallexample @item Strip two leading directory components (equivalent to @option{--strip-components=2}): @smallexample -$ @kbd{tar --transform='s,/*[^/]*/[^/]*/,,' -x arch.tar} +$ @kbd{tar --transform='s,/*[^/]*/[^/]*/,,' -x -f arch.tar} @end smallexample @item Prepend @file{/prefix/} to each file name: @smallexample -$ @kbd{tar --transform 's,^,/prefix/,' -x arch.tar} +$ @kbd{tar --transform 's,^,/prefix/,' -x -f arch.tar} @end smallexample @item Convert each file name to lower case: @smallexample -$ @kbd{tar --transform 's/.*/\L&/' -x arch.tar} +$ @kbd{tar --transform 's/.*/\L&/' -x -f arch.tar} @end smallexample @end enumerate -- 2.45.2