• Re: Globbing versus regular expressions

    From Axel Reichert@21:1/5 to Ed Morton on Sat Aug 10 00:02:40 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to Axel Reichert on Sat Aug 10 00:33:30 2024
    On Sat, 10 Aug 2024 00:02:40 +0200, Axel Reichert wrote:

    Somehow I expected Plan 9's shell, rc, to have a more consistent
    approach, but it also features standard globbing pattern.

    Plan 9 is one of those things you expect to have lots of new, clever stuff
    in it, but it doesn’t.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)