diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-10-15 18:56:16 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-10-15 18:56:16 +0000 |
commit | bdb38058e4bf67d3a473c806bbb5d7eac5187f51 (patch) | |
tree | 82039ddf7ca0e84980fb23a5816268270a21e02b /Doc/Zsh | |
parent | 69134f18cb27ae6a3d8de4c45a77f6da714df3f9 (diff) | |
download | zsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.tar.gz zsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.tar.xz zsh-bdb38058e4bf67d3a473c806bbb5d7eac5187f51.zip |
28345: make ${(D)...} return a fully usable command line argument
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/expn.yo | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 023842a1f..64fcd74e3 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -774,8 +774,10 @@ that result from field splitting. ) item(tt(D))( Assume the string or array elements contain directories and attempt -to substitute the leading part of these by names. This is the reverse -of `tt(~)' substitution: see +to substitute the leading part of these by names. The remainder of +the path (the whole of it if the leading part was not subsituted) +is then quoted so that the whole string can be used as a shell +argument. This is the reverse of `tt(~)' substitution: see ifnzman(noderef(Filename Expansion))\ ifzman(the section FILENAME EXPANSION below). ) |