* doc/autoconf.texi (Here-Documents): Touch up the example to
match output to sample command line.
Signed-off-by: Eric Blake <ebb9@byu.net>
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.
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