From 3e1e46e9d2aa8ce2889682894d3de8998f5bcee9 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 23 Mar 2009 12:17:32 +0000 Subject: 26748: c modifier to add command path --- Doc/Zsh/expn.yo | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 74dda0977..bab12cc3f 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -219,6 +219,8 @@ startitem() item(tt(a))( Turn a file name into an absolute path: prepends the current directory, if necessary, and resolves any use of `tt(..)' and `tt(.)' in the path. +Note that the transformation takes place even if the file or any +intervening directories do not exist. ) item(tt(A))( As `tt(a)', but also resolve use of symbolic links where possible. @@ -226,6 +228,13 @@ Note that resolution of `tt(..)' occurs em(before) resolution of symbolic links. This call is equivalent to tt(a) unless your system has the tt(realpath) system call (modern systems do). ) +item(tt(c))( +Resolve a command name into an absolute path by searching the command +path given by the tt(PATH) variable. This does not work for commands +containing directory parts. Note also that this does not usually work as +a glob qualifier unless a file of the same name is found in the +current directory. +) item(tt(e))( Remove all but the extension. ) -- cgit 1.4.1