Sujet : Re: Globbing versus regular expressions
De : mail (at) *nospam* axel-reichert.de (Axel Reichert)
Groupes : comp.unix.shellDate : 10. Aug 2024, 00:02:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <877ccpnym7.fsf@axel-reichert.de>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Ed Morton <
mortonspam@gmail.com> writes:
There's an IMO interesting Q&A about globs and regexps, including some
history, at:
>
https://unix.stackexchange.com/questions/136353/history-of-bash-globbing
Many thanks, very interesting. It essentially expands a little on all
the points brought forward here. There was a nice example that showed
how painful regexes can be for a simple globbing task.
Thanks also to the others who bothered to share their thoughts.
Somehow I expected Plan 9's shell, rc, to have a more consistent
approach, but it also features standard globbing pattern.
Best regards
Axel