frequency of word

Go down

frequency of word Empty frequency of word

Post  Admin on Fri Aug 15, 2008 2:21 am

you have to write a script to count the frequency of a particular word in given file? Question


Posts : 39
Join date : 2008-08-03

Back to top Go down

frequency of word Empty Re: frequency of word

Post  Beagle on Sat Aug 16, 2008 5:32 am

awk 'BEGIN{search_string = <whatever>}
if($i == search_string)
END {print count}' <file>


Posts : 9
Join date : 2008-08-11

Back to top Go down

Back to top

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