1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-31 07:40:57 +01:00

42399: document echo and behaviour of - and --

This commit is contained in:
Peter Stephenson 2018-02-26 19:58:01 +00:00
parent 1142e2dedb
commit 557d1d7259
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2018-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 42399: Doc/Zsh/builtins.yo: better description of interaction
between echo and dashes.
2018-02-22 Daniel Hahler <zsh@thequod.de>
* 42364: Completion/Unix/Command/_git: _git: fix __git_ignore_line to

View file

@ -504,6 +504,15 @@ pindex(BSD_ECHO, use of)
The tt(-E) flag, or the tt(BSD_ECHO) option, can be used to disable
these escape sequences. In the latter case, tt(-e) flag can be used to
enable them.
Note that for standards compliance a double dash does not terminate
option processing; instead, it is printed directly. However, a
single dash does terminate option processing, so the first dash,
possibly following options, is not printed, but everything following it
is printed as an argument. The single dash behaviour is different
from other shells. For a more portable way of printing text, see
tt(printf), and for a more controllable way of printing text within zsh,
see tt(print).
)
module(echotc)(zsh/termcap)
module(echoti)(zsh/terminfo)