Skip to content
/ wtal Public

Program to print word counts from words in a text file.

License

Notifications You must be signed in to change notification settings

zn8nz/wtal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

wtal

Word tally.

A stand-alone program that opens a given text file and counts occurrences of words. It prints a list of unique words and their count. One pair per line. Format on each line is:

99999999: word

options

-c the minimum tally for a word to be printed to output
-w the minimum number of letters for the word to be printed to output
-a sort ascending (default descending) on tally, word
-i ignore case

examples

./wtal -i -c=50 -w=4 myfile.txt
Print out words of four letters or more and their tally where the tally is 50 or more. Ignore case.

`./wtal -a -w=8 mydoc`
Print out words of 8 letters or more and their tally in ascending order of tally.

About

Program to print word counts from words in a text file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages