Write a linux shell program to perform convert lowercase to uppercase using tr statement
Convert lowercase to uppercase using tr statement
Code:
clear
echo ---------------------------------------------
echo '\tlower case to UPPERCASE'
echo ---------------------------------------------
echo Enter the name of the File
read filename
echo File content in Uppercase
tr '[ a-z ]' '[ A-Z ]' < $filename
Leave a Comment