File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / prep
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



prep                         Command                         prep




Produce a word list

pprreepp [ -ddffpp ] [ -ii _i_f_i_l_e ] [ -oo _o_f_i_l_e ] [ _f_i_l_e ... ]

The command prep prepares a  word list that is useful for statis-
tical processing from the  textual data found in each input file.
If no file is given, prep reads the standard input for text.

For the  purposes of  prep, a  word consists of  a string  of al-
phabetic  letters and  apostrophes.  Words  are written,  one per
line, to  the standard output.   Hyphenated words are  treated as
two  words.  However,  any word hyphenated  between two  lines is
rejoined as one word.

prep recognizes the following options:

-dd   Print a sequence number  (of words in the input text) before
     each output word.

-ff   Fold upper-case  letters into lower case.  This is sometimes
     useful for producing unique lists of words.

-ii _i_f_i_l_e
     Ignore words  found in ifile.  ifile has  words one per line
     that are matched again each input word independent of case.

-oo _o_f_i_l_e
     Print only words  found in ofile.  Only one of  -i or -o may
     be specified.

-pp   In  addition to printing words,  also print each punctuation
     character (printable,  non-numeric characters  that separate
     words), one per line.  These lines are not counted for -d.

***** See Also *****

commands, deroff, sort, spell, typo, wc

***** Notes *****

What constitutes a word is different in deroff, prep, and wc.















COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.