Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Patterns (was Re: array filtering)
- X-seq: zsh-users 30020
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Patterns (was Re: array filtering)
- Date: Sun, 9 Jun 2024 19:23:48 -0700
- Archived-at: <https://zsh.org/users/30020>
- In-reply-to: <CAH+w=7Y4F5fQX9D1iwiP5zt2jHqP9nr+6ZFAJnpeP3id_Yk=+Q@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <f142a706-2a5a-4065-ae47-674b0d873f1f@eastlink.ca> <CAEnqoMCNfAYnvioeP=rJsDCcwoXEeyHqcvn10mR5BWWX+j=KAA@mail.gmail.com> <e7e5e5b7-b76f-4bec-a486-208c71f57458@eastlink.ca> <CAH+w=7Y4F5fQX9D1iwiP5zt2jHqP9nr+6ZFAJnpeP3id_Yk=+Q@mail.gmail.com>
On 2024-06-09 16:08, Bart Schaefer
wrote:
The only distinction with globbing is that the shell patterns apply to
file names, and therefore obey the convention of hiding file names
beginning with a "." and the file system rules about directory
hierarchies. The latter makes "/" significant, so some extra sugar is
added to move through the tree.
It's the little exceptions that bite but nevermind, one easily gets
it solved. The thing it to keep regex and shell unconfused. Or,
would it be worth considering the regex module? Never played with
it.
So these are my non-default settings?:
% unsetopt kshoptionprint; setopt
autocd
autopushd
completealiases
completeinword
extendedglob
extendedhistory
globdots
globstarshort
histignorealldups
histignorespace
histreduceblanks
incappendhistory
interactive
monitor
nullglob
promptsubst
pushdsilent
sharehistory
shinstdin
transientrprompt
zle
Messages sorted by:
Reverse Date,
Date,
Thread,
Author