Farkas Levente <lfarkas(a)lfarkas.org> 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(a)redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."