#! bin/bash
#script for upper and lower cases
echo "enter the 1st string"
read st1
echo "enter the 2nd string"
read st2
echo "======================================="
echo "After the conver the strings"
echo ${st1^}
echo ${st1^^}
echo ${st2^p}
: '
Note:
#(^)- lower case
#(^^)- upper case
#(^p)- p string lower case to upper case
#(^p)- p string lower case to upper case
'
[prabhucloudxlab@cxln4 ~]$ sh hello.sh
enter the 1st string
haritaraka
enter the 2nd string
prabhumanyam
=======================================
After the conver the strings
Haritaraka
HARITARAKA
Prabhumanyam
enter the 1st string
haritaraka
enter the 2nd string
prabhumanyam
=======================================
After the conver the strings
Haritaraka
HARITARAKA
Prabhumanyam