* doc/autoconf.texi (Here-Documents): zsh 4.3.10 adds a newline
to empty here-docs.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ Gary V. Vaughan <gary@gnu.org>
+
+ docs: document zsh specialty with empty here-documents.
+ * doc/autoconf.texi (Here-Documents): zsh 4.3.10 adds a newline
+ to empty here-docs.
+
2010-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
docs: document zsh special array $options.
@samp{ksh93g} (1998-04-30) but as of 2006 many operating systems were
still shipping older versions with the bug.
+Empty here-documents are not portable either; with the following code,
+@command{zsh} up to at least version 4.3.10 creates a file with a single
+newline, whereas other shells create an empty file:
+
+@example
+cat >file <<EOF
+EOF
+@end example
+
Many shells (including the Bourne shell) implement here-documents
inefficiently. In particular, some shells can be extremely inefficient when
a single statement contains many here-documents. For instance if your