bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: Fix example for --transform option with multiple expression


From: Balakrishnan Balasubramanian
Subject: [PATCH] doc: Fix example for --transform option with multiple expressions
Date: Thu, 22 Aug 2024 22:56:47 -0400

---
 doc/tar.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/tar.texi b/doc/tar.texi
index 2519f97b..71c64dd6 100644
--- a/doc/tar.texi
+++ b/doc/tar.texi
@@ -9156,10 +9156,10 @@ order of their appearance.  For example, the following 
two invocations
 are equivalent:
 
 @smallexample
-$ @kbd{tar -cf arch.tar --transform='s,/usr/var,/var/' \
+$ @kbd{tar -cf arch.tar --transform='s,/usr/var,/var/,' \
                         --transform='s,/usr/local,/usr/,'}
 $ @kbd{tar -cf arch.tar \
-               --transform='s,/usr/var,/var/;s,/usr/local,/usr/,'}
+               --transform='s,/usr/var,/var/,;s,/usr/local,/usr/,'}
 @end smallexample
 
 @node after
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]