diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-09-15 13:51:12 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-09-15 13:51:12 +0000 |
commit | 5d028624843038ca5a6706b539824b2007bb8f78 (patch) | |
tree | 5e52bb78598509f2cf958577c43a172c8d169da2 | |
parent | a32f3b2ffc88bf4e3294bc81c2d77d87134d810b (diff) | |
download | zsh-5d028624843038ca5a6706b539824b2007bb8f78.tar.gz zsh-5d028624843038ca5a6706b539824b2007bb8f78.tar.xz zsh-5d028624843038ca5a6706b539824b2007bb8f78.zip |
users/14387 (tweaked): alternative zsh syntax is not going to be removed
-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), |