diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | Doc/Zsh/grammar.yo | 8 |
2 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 3ab874e88..77a6c3177 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-15 Peter Stephenson <pws@csr.com> + + * users/14387 (tweaked): Doc/Zsh/grammar.yo: alternative syntax is + not about to disappear, but does make shell scripts less portable + and possibly readable. + 2009-09-14 Peter Stephenson <pws@csr.com> * Greg Klanderman: 27262: Completion/Unix/Type/_path_files: @@ -12168,5 +12174,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4778 $ +* $Revision: 1.4779 $ ***************************************************** diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo index ff8e6658e..64cc1e26c 100644 --- a/Doc/Zsh/grammar.yo +++ b/Doc/Zsh/grammar.yo @@ -366,10 +366,10 @@ texinode(Alternate Forms For Complex Commands)(Reserved Words)(Complex Commands) sect(Alternate Forms For Complex Commands) cindex(alternate forms for complex commands) cindex(commands, alternate forms for complex) -Many of zsh's complex commands have alternate forms. These particular -versions of complex commands should be considered deprecated and may be -removed in the future. The versions in the previous section should be -preferred instead. +Many of zsh's complex commands have alternate forms. These are +non-standard and are likely not to be obvious even to seasoned shell +programmers; they should not be used anywhere that portability of shell +code is a concern. The short versions below only work if var(sublist) is of the form `tt({) var(list) tt(})' or if the tt(SHORT_LOOPS) option is set. For the tt(if), |