Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Setting GLOB_DOTS for a single command
- X-seq: zsh-users 27359
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zach Riggle <zachriggle@xxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Setting GLOB_DOTS for a single command
- Date: Sat, 20 Nov 2021 21:38:58 -0800
- Archived-at: <https://zsh.org/users/27359>
- In-reply-to: <CAH+w=7YdXfs_f+GAUS0eTXLa7zUqrsWHbMG7vCqxtsNdX20qJg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <CAMP9c5mXzK=HHqZjwJdRSraf_LF3vLp0chMjpD-VnaurZ3z2Wg@mail.gmail.com> <CAH+w=7YdXfs_f+GAUS0eTXLa7zUqrsWHbMG7vCqxtsNdX20qJg@mail.gmail.com>
On Sat, Nov 20, 2021 at 9:36 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> In
> particular
Sorry, an intended copy-paste there didn't get pasted:
${~SPEC}
Turn on the GLOB_SUBST option for the evaluation of SPEC; if the
'~' is doubled, turn it off. When this option is set, the string
resulting from the expansion will be interpreted as a pattern
anywhere that is possible, such as in filename expansion and
filename generation and pattern-matching contexts
Messages sorted by:
Reverse Date,
Date,
Thread,
Author