Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] docs: Document explicitly that the :P modifier returns a symlink-less path.
- X-seq: zsh-workers 47313
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] docs: Document explicitly that the :P modifier returns a symlink-less path.
- Date: Mon, 10 Aug 2020 05:50:40 +0000
- Archived-at: <https://zsh.org/workers/47313>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-08/20200810055040.25195-1-danielsh%40tarpaulin.shahaf.local2>
- Authentication-results: zsh.org; iprev=pass (out2-smtp.messagingengine.com) smtp.remote-ip=66.111.4.26; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=from:to:subject:date:message-id :mime-version:content-transfer-encoding; s=fm1; bh=EC5V8w/1l9zry oci+1NZVZl4EhIytmOp/S/jm7C/Dls=; b=G8lFFRLqmH65QuH5o+mB1yyB/V/mH fOeDsuN9vgbwzVuc426Z8wsAKDZWUFSxmUF/lUY5my6HSJTjziMS0deW7FoHG/ue gTCTlvycQtvaa7NTkQjLVj6+CxcQipD75pyiW4wDsadJZnRrZyey2Aaks+grWfBH coOQG1MgRawcZnobZrRih12r/M1NeIf2efnFm1f/3AG3OlI2FENmapCwh92hQgQq eClBeg3Rcs8spobJPXXdlhlpSNlUVMfxXcFdqE0mtyv/C3Q2o9I09i3VHjU7Vr60 2MI3Ucy6NqLvyAsK09tvU3acSDXeRUbthwlTpsPpaRKZ9cbUIFO+9srVQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=EC5V8w/1l9zryoci+ 1NZVZl4EhIytmOp/S/jm7C/Dls=; b=YaO7kbEwJe92lXesuXKxTafKPaA9KSOrU T8YqJaNXisXeJe2SsplRGAxeGN+mS4NjJzv6H7suBTT/2qYWxhOMEJ0RjrJ9y5xq PyL1XnoW8D3RxzQk3ShKJ6a1YXVVUoxvK7fYzPHPUyVAMeR1AFbWYyTcTbmw+uVX RC6UUqXpF+BogiP5PLN9y+rJ2XM2W+eIunwhpwDqKWpI53Fvwi8e+PafPI2AuaDF o5PWxpSrl6uF0fjeV8fcgxrRrE/+kjcRF7ba9iSRqjts7+hQni61bi8BeupT90Cx EGxy0tQFfxSugs53CWn5T3xyFdYJPJ1GqhBetuV1N9/79YkQX999g==
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- Sender: Sympa Owner <sympa@xxxxxxx>
---
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author