28 Jul
2009
28 Jul
'09
20:59
David C. Rankin wrote:
But that seems like a clunky use of case. Is there a better way?
$ shopt -s nocasematch $ [[ "foo" == "FoO" ]] && echo bar bar $
That's it.
Regards nordi
I think that one wins the prize for elegance and simplicity. Personally, I'd probably have broken out grep -i -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org