Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: tilde syntax
- X-seq: zsh-users 29416
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: tilde syntax
- Date: Thu, 4 Jan 2024 15:04:06 -0800
- Archived-at: <https://zsh.org/users/29416>
- In-reply-to: <CAH+w=7ZS74YyODpjK-LpLnoUoc3=mUCAV84kN77K+UfHvbLkiQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <625e7ef5-be1f-4b5d-bb2a-f71634d151cf@eastlink.ca> <CAH+w=7ZS74YyODpjK-LpLnoUoc3=mUCAV84kN77K+UfHvbLkiQ@mail.gmail.com>
On 2024-01-04 14:49, Bart Schaefer
wrote:
Results of parameter expansion by default (in native zsh emulation)
are not subject to further interpretation.
Hmmm ... I don't think I've known that. I've tended to think that
once a variable is substituted out, there is no difference.
No, it turns "do nothing else" into "also act as a glob or pattern".
In this example, it's a glob.
I tried to find something about that in the manual but it's one of
those things where you need to know what to call it in words.
Searching for " $~ " hardly works.
What do you mean by "works"?
I mean the code does what I'm expecting.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author