in f13 =~ no longer working in bash

Andreas Schwab schwab at
Tue Jun 8 12:34:39 UTC 2010

Farkas Levente <lfarkas at> writes:

> hi,
> =~ no longer working in bash. just try this little line:
> -----------------------------
> if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi
> -----------------------------

See question E14 in the Bash FAQ.


Andreas Schwab, schwab at
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."

More information about the devel mailing list