Possible Duplicate:
converting string to lower case in bash shell scripting
For example:
 echo *****Language translator*****
 echo please choose the language
 for Chinese enter c
 for French enter f
In a simple way I want to be able to recognize both C and c for Chinese; and the same thing for f and F, recognized as French.
Is there a way to convert everything to lower case?
Here part of the code:
if [ $language == c ];
      then
        echo "Enter the word to translate:"
        read word_to_translate