28 Jul
2009
28 Jul
'09
21:23
On Tuesday July 28 2009, Philip Dowie wrote:
... $ shopt -s nocasematch $ [[ "foo" == "FoO" ]] && echo bar bar $
...
I think that one wins the prize for elegance and simplicity. Personally, I'd probably have broken out grep -i
Don't forget to reset the option if you don't want case-insensitive matching subsequently. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org