In UNIX using PERL list all words used in one or more files and displays their count?

*@@du*

New member
I used the pattern /\W+/ to split the lines of the input file into words..but didnt get success!
Output should be in form word:count
Just to mention filename is an input parameter!
 
Back
Top