Sunday, June 14, 2009

vowel count in a file ..........

A script count the number of occurance of vowels in particular file

i.e how Many times a vowel come in the file ....

grep -io [aeiouAeIOU] |sort|uniq -c

1 comment:

  1. @khatri..
    Dost when u r using -i option in grep it did not need to write [aeiouAEIOU]. it will simply work with [aeiou] bcoz -i option is used for ignoring the case of letters..

    Thanks...

    ReplyDelete