1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-01 12:56:04 +02:00

33110: document use of $IFS[0] for variable padding

This commit is contained in:
Peter Stephenson 2014-09-04 20:23:22 +01:00
parent ed8602ee3f
commit 3518783680
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-09-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 33110: Doc/Zsh/expn.yo: document use of $IFS[1] for variable
padding.
2014-09-04 Peter Stephenson <p.stephenson@samsung.com>
* Alexandre Rames: 33108: Completion/Unix/Command/_stgit:

View File

@ -1155,6 +1155,10 @@ var(string1) and var(string2) are given, tt(string2) is inserted once
directly to the left of each word, truncated if necessary, before
var(string1) is used to produce any remaining padding.
If either of var(string1) or tt(string2) is present but empty,
i.e. there are two delimiters together at that point, the first
character of tt($IFS) is used instead.
If the tt(MULTIBYTE) option is in effect, the flag tt(m) may also
be given, in which case widths will be used for the calculation of
padding; otherwise individual multibyte characters are treated as occupying