develooper Front page | perl.beginners | Postings from March 2002

count consonnant

Thread Next
March 16, 2002 16:24
count consonnant
Message ID:
I am trying to create a script that read a file and count consonnant then output the results to another file. 
I would ask here if anybody can help me to write the script.


1. the c at the end of words . 
2. the cc at the end of words
3. the cing at the end of words
4. the ccing at the end of words

Input file
danc <1> danccing <2>
dancc <2>  danccing <2>
danc <1> dancing <1> 
danccing <2>  danc <1>
dancing <1> dancc <2>

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About