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

count consonnant

Thread Next
From:
rnoory
Date:
March 16, 2002 16:24
Subject:
count consonnant
Message ID:
002b01c1cd4c$2ee431c0$0100a8c0@houda
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.

Thanks

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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About