7. WASS to accept a file name and convert its content to uppercase
Page 1 of 1
7. WASS to accept a file name and convert its content to uppercase
7. WASS to accept a file name and convert its content to uppercase
clear
echo -n "Enter file name: "
read fname
tr [a-z] [A-Z] < $fname > out1
echo "contents of files: "
cat out1
clear
echo -n "Enter file name: "
read fname
tr [a-z] [A-Z] < $fname > out1
echo "contents of files: "
cat out1
nibedita- Posts : 3
Join date : 2010-07-21
Similar topics
» 32. WASS to accept 2 file names if both exits and not empty then concatenate both and store the content in a file called merged.txt
» 39. WASS which accept a file name and print last 10 lines of the file
» 15 Program - WASS to accept 10 names and stores in a file called NAME.DBF
» 8. WASS to accept 2 x and y , and find the XY ( x raised to the power y )
» WASS to accept a string from the user and display number of vowels
» 39. WASS which accept a file name and print last 10 lines of the file
» 15 Program - WASS to accept 10 names and stores in a file called NAME.DBF
» 8. WASS to accept 2 x and y , and find the XY ( x raised to the power y )
» WASS to accept a string from the user and display number of vowels
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum