* doc/gzip.texi (Sample): Fix backslash quoting problem.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 May 2010 23:36:20 +0000 (16:36 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 11 May 2010 23:36:20 +0000 (16:36 -0700)
Problem reported by Ole Tange in
<http://lists.gnu.org/archive/html/bug-gzip/2010-05/msg00000.html>.

doc/gzip.texi

index a6009d2ada14c9882b84317a6a41d716d5256f48..a7e72b8ce18e77e159510a66222320c65c3f0d5d 100644 (file)
@@ -228,7 +228,7 @@ stopping on the first failure:
 find . -name '*
 *' -prune -o -name '*.gz' -type f -print |
   sed "
-    s/'/'\\''/g
+    s/'/'\\\\''/g
     s/^\\(.*\\)\\.gz$/gunzip <'\\1.gz' >'\\1'/
   " |
   sh -e