From: Perry Smith <pedz@easesoftware.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: P modify in history event
Date: Sun, 17 Nov 2019 12:42:04 -0600 [thread overview]
Message-ID: <BEBF5AEC-185E-4887-98D7-4731E1D8F7B0@easesoftware.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
I’m (slowly) reading through zshexpn and playing with things to learn. This does not work:
> pedz@MysticSlate my-play-dir % echo /this/is/a/../../path
> /this/is/a/../../path
> pedz@MysticSlate my-play-dir % echo !$:P
> zsh: illegal modifier: P
even if the file specified exists
but this does:
> pedz@MysticSlate my-play-dir % echo /this/is/a/../../path
> /this/is/a/../../path
> pedz@MysticSlate my-play-dir % echo !$:A
> echo /this/path
> /this/path
Is this a documentation bug, code bug, or my misunderstanding?
Thank you,
pedz
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2966 bytes --]
next reply other threads:[~2019-11-17 18:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20191117184333epcas5p15bc1aa7b0f78182c3d1acc703f55d445@epcas5p1.samsung.com>
2019-11-17 18:42 ` Perry Smith [this message]
2019-11-18 9:47 ` Peter Stephenson
2019-11-19 18:00 ` Daniel Shahaf
2019-11-19 18:21 ` Peter Stephenson
2019-11-19 19:03 ` Daniel Shahaf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BEBF5AEC-185E-4887-98D7-4731E1D8F7B0@easesoftware.com \
--to=pedz@easesoftware.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).