]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix previous example.
authorEric Blake <ebb9@byu.net>
Wed, 13 Jan 2010 16:46:35 +0000 (09:46 -0700)
committerEric Blake <ebb9@byu.net>
Thu, 14 Jan 2010 13:55:49 +0000 (06:55 -0700)
* doc/autoconf.texi (Here-Documents): Touch up the example to
match output to sample command line.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
doc/autoconf.texi

index 3fa0c5d78be76edf4806e036f13b3c4cf342451f..1719deb93201430189c9469c99357e1778535ed8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2010-01-13  Eric Blake  <ebb9@byu.net>
 
+       Fix previous example.
+       * doc/autoconf.texi (Here-Documents): Touch up the example to
+       match output to sample command line.
+
        Document here-doc pitfall.
        * doc/autoconf.texi (Here-Documents): Mention problem with <<-
        operator.
index 31550fd5a98a65a95460270fbfbe700c0718a3a1..1549f89555071b84d9bfd06b1a1b90996b5bd5e1 100644 (file)
@@ -14698,13 +14698,15 @@ spaces (not all shells are nice enough to warn about unterminated
 here-documents).
 
 @example
-$ @kbd{printf 'cat <<-x\n\t1\n\t 2\n\tx\n' | bash && echo oops}
+$ @kbd{printf 'cat <<-x\n\t1\n\t 2\n\tx\n' | bash && echo done}
 1
  2
-$ @kbd{printf 'cat <<-x\n 1\n  2\n x\n' | bash-3.2 && echo oops}
+done
+$ @kbd{printf 'cat <<-x\n 1\n  2\n x\n' | bash-3.2 && echo done}
  1
   2
  x
+done
 @end example
 
 @node File Descriptors