zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] docs: Document explicitly that the :P modifier returns a symlink-less path.
@ 2020-08-10  5:50 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2020-08-10  5:50 UTC (permalink / raw)
  To: zsh-workers

---
 Doc/Zsh/expn.yo | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 21ecf9d6e..cbdae4d58 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -287,8 +287,10 @@ expansion.
 )
 item(tt(P))(
 Turn a file name into an absolute path, like tt(realpath+LPAR()3+RPAR()).
-The resulting path will be absolute, have neither `tt(.)' nor `tt(..)' components,
-and refer to the same directory entry as the input filename.
+The resulting path will be absolute,
+will refer to the same directory entry as the input filename,
+and none of its components will be symbolic links or equal to
+`tt(.)' or `tt(..)'.
 
 Unlike tt(realpath+LPAR()3+RPAR()), non-existent trailing components are
 permitted and preserved.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-10  5:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-10  5:50 [PATCH] docs: Document explicitly that the :P modifier returns a symlink-less path Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).