Date: Saturday, 30 June 1984 15:10 mst From: James J. Lippard Subject: Miscellaneous Digest V3 #16 Reply-To: {mbx >udd>Multics>Lippard>misc>misc} To: {list >udd>Multics>Lippard>misc>misc} Miscellaneous Digest Volume 3 : Issue 16 Today's topics: cdr (from Poli-Sci Digest) ---------------------------------------------------------------------- Date: Friday, 29 June 1984 13:45 mst From: James J. Lippard Subject: cdr (from Poli-Sci Digest) From: bach@ucbernie (Benny Profane) CDR(1) UNIX Programmer's Manual CDR(1) NAME cdr - crap detector and remover SYNOPSIS cdr [ option ] ... [ file ] ... DESCRIPTION Cdr is a filter that will screen out text containing unsuitable, annoying, or incorrect ideas. Each named file, or the standard input, is matched against a user-defined set of political, social, esthetic, and sexual criteria and passed on to the standard output if acceptable. For instance, the form "msgs | cdr ..." replaces the well-known difficult interactive sequence msgs n n n n ... For efficiency reasons, cdr options are limited to a simple but useful set. -p Remove all political text in the range to . The s range from -4 (extreme right) to +5 (extreme left) and are taken modulo 10, so that +5 and -5 are equivalent. -m Remove any text emanating from DARPA, DOD, etc. Primarily used to save file space. -d Remove duplicate or redundant text. -u Remove messages written by undergraduates. -sX Character X is taken as an 8-bit binary string, and interpreted according to the following scheme: bit on off 0 staff student 1 omnivore vegetarian 2 gay straight 3 female male 4 conservative liberal 5 healthy handicapped 6 young old 7 smoking nonsmoking Useful for selecting friends, lovers, and roommates at Berkeley. -e Removes references to any ethnic groups named in -o Removes any Anglo-Saxon derivatives consisting of four letters. -w Removes any text containing the words "canonical" or "systolic". SEE ALSO diction(1), spell(1), style(1). DIAGNOSTICS Exit status is 0 if no matches are found, 1 if matches are found, 2 for syntax errors or inaccessible files. MESSAGES cdr: unknown flag You specified an option which cdr doesn't recognize. Contact the Ministry of Culture for the currently approved list. cdr: argument too long The option list is currently limited to 8 concepts. You will have to simplify the expression. REFERENCES See Comstock, "A Semantic Pattern Matching Algorithm", JACM 6:9 (1974). BUGS There is never any output. ------------------------------ End of Miscellaneous Digest ***************************