docs: document zsh specialty with empty here-documents.

* 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>
This commit is contained in:
Ralf Wildenhues 2010-09-12 18:37:08 +02:00
parent 23a2c336ad
commit 97d209ddb1
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,10 @@
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.

View File

@ -14897,6 +14897,15 @@ fixed in
@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