On 5/20/25 3:08 PM, FunnyMan Computer wrote:

Bash Version: 5.2
Patch Level: 37
Release Status: release



Description:
      Bash's '=~' extended POSIX regex seems to behave very different to the 
way grep's -E flag seems to deal with regular expressions.

Bash doesn't provide its own implementation of EREs: it uses whatever libc
supplies. I assume that's different from whatever `grep -E' uses.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to