1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00

users/21777: Clarify documentation of the ':A' word modifier.

This commit is contained in:
Daniel Shahaf 2016-07-17 12:32:13 +00:00
parent fff0080400
commit 6e966f691d
2 changed files with 14 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2016-07-20 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/21777: Doc/Zsh/expn.yo: Clarify documentation of the
':A' word modifier.
2016-07-19 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 38862: Src/Modules/datetime.c: strptime(3) requires _XOPEN_SOURCE

View file

@ -224,10 +224,15 @@ 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.
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).
Turn a file name into an absolute path as the `tt(a)' modifier does, and
em(then) pass the result through the tt(realpath+LPAR()3+RPAR()) library
function to resolve symbolic links.
Note: on systems that do not have a tt(realpath+LPAR()3+RPAR()) library
function, symbolic links are not resolved, so on those systems `tt(a)' and
`tt(A)' are equivalent.
Note: tt(foo:A) and tt(realpath+LPAR()foo+RPAR()) are different on some inputs.
)
item(tt(c))(
Resolve a command name into an absolute path by searching the command