Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14484 > unrolled thread
| Started by | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| First post | 2018-08-14 10:12 -0400 |
| Last post | 2018-08-14 10:12 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Extglob *?(a)b matches every string Chet Ramey <chet.ramey@case.edu> - 2018-08-14 10:12 -0400
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Date | 2018-08-14 10:12 -0400 |
| Subject | Re: Extglob *?(a)b matches every string |
| Message-ID | <mailman.5091.1534255964.1292.bug-bash@gnu.org> |
On 8/12/18 12:26 AM, Mark Polyakov wrote: > Bash Version: 4.3 > Patch Level: 46 > Release Status: release > A > Description: > A A A An extglob pattern such as `*?(anything)something_else` will > match any string, even though it should only match strings that end > with something_else. I suspect there are a number of other extglob > patterns involving ?() that are buggy but have not tested extensively. > This *only* happens on 4.3. I have also tested 4.0, 4.2, and 4.4, all > of which parse the glob correctly. Thanks for the report. As you noted, this was fixed in bash-4.4. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to top | Article view | gnu.bash.bug
csiph-web