Discussion:
[Help-bash] extended-glob required by cond-command
Joel Ebel
2018-06-19 17:52:34 UTC
Permalink
Is it expected that the extended glob feature is required to compile with
the cond-command feature? Using bash 4.4.18, I fail to compile if I
configure with "--disable-extended-glob --enable-cond-command" More
specifically, I'm compiling with "--enable-minimal-config
--enable-cond-command" but I was not expecting that extended glob would
also be required.

Thanks,
Joel
Chet Ramey
2018-06-19 18:18:18 UTC
Permalink
Post by Joel Ebel
Is it expected that the extended glob feature is required to compile with
the cond-command feature? Using bash 4.4.18, I fail to compile if I
configure with "--disable-extended-glob --enable-cond-command" More
specifically, I'm compiling with "--enable-minimal-config
--enable-cond-command" but I was not expecting that extended glob would
also be required.
Yes. The == operator performs pattern matching. For compatibility with
ksh93, that pattern matching uses extended globbing unconditionally.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU ***@case.edu http://tiswww.cwru.edu/~chet/
Loading...