From cd02c345afdedd31b767530dfb826b56c61ac6d7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 19 Feb 2001 10:26:52 +0000 Subject: 13280: NewImproved handling of colon modifiers w.r.t. paths --- Doc/Zsh/expn.yo | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Doc/Zsh') 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 -- cgit 1.4.1