From cdafe31e05570da92cc96159dbb02a75b48a16b0 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 10 Aug 2020 05:50:40 +0000 Subject: 47313: docs: Document explicitly that the :P modifier returns a symlink-less path. --- Doc/Zsh/expn.yo | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Doc') 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. -- cgit 1.4.1