was wondering if someone could help me out real quick
I am trying to figure out why expansion isnt working in the way that I am trying to use it. I am running bash under FC2.
I am trying to make this work
if [ "$word" = *[aA]* ]
I have also tried
if [ "$word" = "*[aA]*" ]
If I use a complete value with no expansion such as [ "$word" = "hello" ] then it will work, but the expansion I try will not. Im pretty new at this. Any help or kick in the right direction would be great.
Thanks for the time and help!