summary refs log tree commit diff
path: root/Doc/Zsh/grammar.yo
Commit message (Collapse)AuthorAgeFilesLines
* 45110: zshmisc(1): Fix markup of "try-list" and "always-list".Daniel Shahaf2019-12-221-12/+12
|
* 45111: zshmisc(1): Clarify the documentation of 'return' and 'exit' in ↵Daniel Shahaf2019-12-221-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | conjunction with try/always Having reviewed 20076, 20084, 21734, and 21735, my understanding is that the original intention was: - A 'return' in a function does run always-list - An 'exit' outside a function does not run always-list - A 'return' outside a function is treated as an 'exit' All of which are the case today. The remaining case, of 'exit' used inside a function, was not specified by the referenced -workers@ posts; does, as implemented, run the always-list; and furthermore, based in 21734 it's fair to assume that the original documentation was assuming that 'exit' would be used outside of any function, just like it assumed 'return' would be used inside a function. Therefore, have the documentation specify only the behaviour of 'exit' outside any function, and leave the behaviour of 'exit' inside a function unspecified. Anyone who relied on the documentation of 'exit' as documented until this commit would have run into the documentation/implementation discrepancy described in 45075.
* 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is ↵Joey Pabalinas2018-12-171-3/+6
| | | | | | | | | | | | | | | | | | | | omitted In code such as: > hobbes% () { for arg do print -r $arg; done; } 1 2 3 > 1 > 2 > 3 the implicit positional parameters added when the `in word ...' list is omitted also implicitly append the separator term, making the above code valid, albeit seemingly violating the syntax listed in the documentation. This is related to the various forms of alternative syntax and is the intended behavior of the parsing code, so correct the minor contradiction in the for loop documentation.
* 42261: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin.Daniel Shahaf2018-01-131-1/+2
|
* 41939: docs: Move aliases corner case to the dangerous bends section. (after ↵Daniel Shahaf2017-10-301-3/+4
| | | | 41482)
* 41842: aliasing documentation updatePeter Stephenson2017-10-101-9/+29
|
* 40744: Document the SHORT_LOOPS 'function' syntax.Daniel Shahaf2017-03-081-0/+3
| | | | It's already mentioned in passing in zshoptions(1).
* unposted: a few cosmetic format fixes in docsJun-ichi Takimoto2015-11-131-2/+1
|
* various posts: Implement assignment parsing for typeset.Peter Stephenson2015-06-241-1/+2
| | | | | | | | | | | | Typeset assignments now work like raw assignments except for no "+=" and no GLOB_ASSIGN. Documented in typeset builtin doc and mentioned in release notes. Tests to ensure basic sanity. Enabled by default, can be turned off by "disable -r" with typeset family of commands.
* 35250: Fix case documentation (SH_GLOB)Peter Stephenson2015-05-211-5/+11
|
* 35034: improve manual format up to Chapter18Jun-ichi Takimoto2015-05-061-7/+8
|
* 34734: further aliasing adjustments and docBarton E. Schaefer2015-03-181-10/+19
| | | | | | | | restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson <p.stephenson@samsung.com> * 34723: configure.ac: turn off fixed site function directory if
* 34712: clarify words that may be aliasedBarton E. Schaefer2015-03-151-2/+18
|
* 33679: Note on patter s in case statementsPeter Stephenson2014-11-191-1/+5
| | | | They work exactly like groups in other patterns, despite contrary indications.
* 33319: fix parens in example from 33312Barton E. Schaefer2014-10-011-1/+1
|
* 33312: document redirections applied to function definitionsPeter Stephenson2014-10-011-0/+9
|
* Attempt to improve doc for assignmentPeter Stephenson2014-07-081-1/+5
|
* fix my own merge conflict with grammar changesPeter Stephenson2014-06-091-25/+26
|\
| * 32715: doc formatting fixesJun T2014-06-061-25/+26
| |
* | 32755: move incorrectly placed line in grammar.yoJun T2014-06-091-1/+1
|/
* 32603: fix documentation of status after try / alwaysEric Cook2014-05-091-1/+1
|
* 30803: Vin Shelton: missing menu entry in grammar.yoPeter Stephenson2012-11-181-0/+1
|
* 30789: Add CONTINUE_ON_ERROR for old behaviour.Peter Stephenson2012-11-151-2/+51
| | | | | New behaviour is for scripts to exit on error instead of returning to top level and executing the next command.
* A.Costa: unposted: grammar.yo, ChangeLog-3.1: Fix typo to "definition"Frank Terbeck2012-02-011-1/+1
|
* 29955++: IGNORE_CLOSE_BRACES optionPeter Stephenson2011-12-081-2/+2
|
* 28377: document more alias problemsPeter Stephenson2010-11-171-0/+21
|
* unposted: typo plus rephrase of alias quoting bitPeter Stephenson2010-10-271-6/+7
|
* 28375: clarify how to quote aliases from expansionPeter Stephenson2010-10-271-6/+9
|
* 27648, 267650/1, unposted README change:Peter Stephenson2010-02-031-0/+4
| | | | Turn off repeat and turn on ulimit in emulation modes
* users/14387 (tweaked): alternative zsh syntax is not going to be removedPeter Stephenson2009-09-151-4/+4
|
* Mikael: 25143: spelling correctionsPeter Stephenson2008-06-101-1/+1
| | | | | 25144: report supported bases 25139: fix number
* 25018: Omari Norman: completion for awk, join, sortPeter Stephenson2008-05-131-0/+13
|
* 24513, 24514, 24515, 24516, 24517, 24518, 24519, 24520, 24521: typo fixes ↵Clint Adams2008-02-011-1/+1
| | | | from A. Costa.
* Phil Pennock + tweaks: 23398 + more tweaks: exec compatibility optionsPeter Stephenson2007-05-081-13/+40
|
* 23115: ";|" at end of case clause causes later patterns to be testedPeter Stephenson2007-01-191-4/+13
|
* unposted c.f. 21735: document return as exit in try block in scriptPeter Stephenson2005-09-191-2/+3
|
* c.f. 21071: always use "status" in return and exit status docsPeter Stephenson2005-04-011-6/+7
|
* 20076, 20084: { ... } always { ... } syntax.Peter Stephenson2004-06-221-0/+56
|
* Fix errors introduced by 15354.Bart Schaefer2001-07-241-1/+1
|
* Better indexing and misc. cleanup in the first tenth or so of the doc.Bart Schaefer2001-07-101-2/+7
|
* 15264: improved doc for variant complex commandsPeter Stephenson2001-07-051-8/+16
|
* 15030: multi-parameter `for' loopsPeter Stephenson2001-06-251-4/+13
|
* 12716: Document and index REPLY/reply paramters properly.Bart Schaefer2000-08-291-0/+1
|
* doc changes; typo in _jobs; integer builtin understands `-i base'Peter Stephenson2000-05-141-1/+1
|
* Spelling corrections in the docs (11315)Oliver Kiddle2000-05-111-14/+70
|
* Initial revisionTanaka Akira1999-04-151-0/+335