From 552ebe6082407b2cd3b9c9434394bad46fc59154 Mon Sep 17 00:00:00 2001 From: Joey Pabalinas Date: Mon, 17 Dec 2018 00:54:24 -1000 Subject: 43904 (plus tweak): zshmisc(1): document term being optional if `in word' is 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. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 976924c04..3c0aabc40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-12-17 Joey Pabalinas + + * 43904 (plus tweak): Doc/Zsh/grammar.yo: zshmisc(1): document + term being optional if `in word' is omitted + 2018-12-14 dana * unposted: Completion/Unix/Command/_dig: Fix _arguments syntax -- cgit 1.4.1