Now we going to see Conversion of upper case letter to lower case letter using Linux shell programming, Here the source code is given to generate the conversion,
Please save this source using <filename>.sh extension,
Source code for conertion :
[sourcecode language=’css’]
echo “CONVERT UPPER CASE TO LOWER CASE”
echo “OUTPUT:”
echo “Enter a string :”
Read str
temp = ` $str | tr [A-Z] [a-z] `
echo “The lower case string is:”
echo “$temp”
[/sourcecode]
To copy above source code, Use pastebin
You may also refer Shell Program For Swap Two Numbers