Farkas Levente <lfarkas@xxxxxxxxxxx> 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. -- Andreas Schwab, schwab@xxxxxxxxxx GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something completely different." -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel