diff options
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r-- | Doc/Zsh/expn.yo | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 584977c18..4095dab2b 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -899,11 +899,15 @@ flag or the tt(SH_WORD_SPLIT) option. ) item(tt(l:)var(expr)tt(::)var(string1)tt(::)var(string2)tt(:))( Pad the resulting words on the left. Each word will be truncated if -required and placed in a field var(expr) characters wide. The space -to the left will be filled with var(string1) (concatenated as often -as needed) or spaces if var(string1) is not given. If both -var(string1) and var(string2) are given, tt(string2) is inserted -once directly to the left of each word, truncated if necessary, before +required and placed in a field var(expr) characters wide. + +The arguments tt(:)var(string1)tt(:) and tt(:)var(string2)tt(:) are +optional; neither, the first, or both may be given. Note that the same +pairs of delimiters must be used for each of the three arguments. The +space to the left will be filled with var(string1) (concatenated as +often as needed) or spaces if var(string1) is not given. If both +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 the tt(MULTIBYTE) option is in effect, the flag tt(m) may also |