File:  [Research Unix] / researchv8dc / cmd / wwb / match.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

# NOTICE-NOT TO BE DISCLOSED OUTSIDE BELL SYS EXCEPT UNDER WRITTEN AGRMT
L=/usr/lib/style
for i in $*
	do case $i in
		-ver) echo $0 version 2.1;exit;;
		-flags) echo $0 style-file1 \[style-file2\] \[-flags\] \[-ver\];exit;;
		-*) echo unknown match flag $i;exit;;
		*) if test ! -r $i
		   then echo Can\'t find the file $i\; try specifying a more complete pathname.; exit
		   fi
	esac
done
echo "            READABILITY"
grep Kin $*
echo
echo "            TOTAL LENGTH"
grep "no\. sent" $*
echo
echo "            SENTENCE LENGTH"
grep "sent leng" $*
echo
echo "            QUESTIONS"
grep question $*
echo
echo "            SIMPLE SENTENCES"
grep simple $*
echo
echo "            TOBE USE"
grep tobe $*
echo
echo "            PASSIVES"
grep passive $*
echo
echo "            NOUN-PRONOUN USE"
grep "noun.*adj.*pron" $*
echo
echo "            NOMINALIZATIONS"
grep nominaliz $*

unix.superglobalmegacorp.com

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