[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] extended-glob required by cond-command
From: |
Chet Ramey |
Subject: |
Re: [Help-bash] extended-glob required by cond-command |
Date: |
Tue, 19 Jun 2018 14:18:18 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
On 6/19/18 1:52 PM, Joel Ebel wrote:
> 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 address@hidden http://tiswww.cwru.edu/~chet/