[go: up one dir, main page]

Menu

Tree [4b7e38] objc-3.3.21 / words /
 History

HTTPS access


File Date Author Commit
 CVS 2020-09-20 stes stes [27a062] Update to 3.3.20
 Makefile.in 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 Makefile.lcc 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 Makefile.mpw 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 Makefile.nmk 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 Makefile.vac 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 Makefile.wmk 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 README 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 erasmus 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 token.lm 2019-10-15 David Stes David Stes [f696b2] Import to GIT
 words.m 2019-10-15 David Stes David Stes [f696b2] Import to GIT

Read Me

WORDS README
------------

"words" is a small program for testing ObjectPak.

When not given a command-line option, it simply reads words (strings
consisting of letters only) from "stdin" and prints nothing to "stdout".

(words -cltn < erasmus)
	Prints all the words in the file "erasmus", in the same order as
	they are encountered

(words -set < erasmus)
	Prints an unordered list of the words in the file, suppressing
	duplicate entries

(words -dic < erasmus)
	 Prints a list of the words in the file and, for each word, its
	 frecuency, i.e., the number of times the word is encountered.

(words -sort < erasmus)
	 Prints a sorted list of the words in the file (sorted with respect
	 to dictionary ordering)

INSTALLATION
------------

Configuration of "ObjectPak" should have created a Makefile for "words".
Type "make" to compile "words"

EXPERIMENTS
------------

(cat erasmus | words -cltn | wc -l)
(cat erasmus | words -cltn | sort -u | wc -l)
(cat erasmus | words -set | wc -l)
(cat erasmus | words -dic | sort -u +1)