Is there a way in bash to convert a string into a lower case string?
For example, if I have:
a=\"Hi all\"
I want to convert it to:<
To store the transformed string into a variable. Following worked for me - $SOURCE_NAME to $TARGET_NAME
$SOURCE_NAME
$TARGET_NAME
TARGET_NAME="`echo $SOURCE_NAME | tr '[:upper:]' '[:lower:]'`"