CHRIST MCA 2009-2012
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WASS to accept a string from the user and display number of vowels

Go down

WASS to accept a string from the user and display number of vowels Empty WASS to accept a string from the user and display number of vowels

Post  rakesh Thu Aug 12, 2010 10:50 pm

clear
echo "enter file name"
read file
initcount=`cat $file | wc -c`
echo "initcount is $initcount"
#del aeiou
fincount=`cat empty | tr -d [aeiou] |wc -c`
echo finalcount is $fincount
echo total aeiou count is `expr $initcount - $fincount`

rakesh
Admin

Posts : 3
Join date : 2010-07-20
Age : 36

https://mca2012.board-directory.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum