mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-06 10:25:53 +08:00
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:
parent
23a2c336ad
commit
97d209ddb1
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user