diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-02-19 10:26:52 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-02-19 10:26:52 +0000 |
commit | cd02c345afdedd31b767530dfb826b56c61ac6d7 (patch) | |
tree | 2021aed216adfc9cd18e9e3ae3740edb192b5a44 /Doc | |
parent | 441648bf5d1fed6a087affc6dd80c4d604704173 (diff) | |
download | zsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.tar.gz zsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.tar.xz zsh-cd02c345afdedd31b767530dfb826b56c61ac6d7.zip |
13280: NewImproved handling of colon modifiers w.r.t. paths
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/expn.yo | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 723d023af..60b73af33 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -202,16 +202,19 @@ noted. startitem() item(tt(h))( -Remove a trailing pathname component, leaving the head. +Remove a trailing pathname component, leaving the head. This works +like `tt(dirname)'. ) item(tt(r))( -Remove a trailing suffix of the form `tt(.)var(xxx)', leaving the basename. +Remove a filename extension of the form `tt(.)var(xxx)', leaving +the root name. ) item(tt(e))( -Remove all but the suffix. +Remove all but the extension. ) item(tt(t))( -Remove all leading pathname components, leaving the tail. +Remove all leading pathname components, leaving the tail. This works +like `tt(basename)'. ) item(tt(p))( Print the new command but do not execute it. Only works with history |