File:  [Research Unix] / researchv10no / cmd / style / topic.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

# NOTICE-NOT TO BE DISCLOSED OUTSIDE BELL SYS EXCEPT UNDER WRITTEN AGRMT
L=/usr/lib/style
mflag=-ms
mlflag=-ml
for i in $*
	do case $i in
		-mm) mflag=-mm;shift;continue;;
		-ms) mflag=-ms;shift;continue;;
		-ml|-li) mlflag=-ml;shift;continue;;
		+li) mlflag=;shift;continue;;
		-ver) echo $0 version 2.0: 2.0;exit;;
		-flags) echo $0 \[-flags\] \[-ver\] \[file ...\];exit;;
		-*) echo unknown topic 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 $*
deroff $mflag $mlflag $* | $L/style1 | $L/style2  |$L/style3 -T | sort|uniq -c|sort -nr|sed -n "1,20p" 

unix.superglobalmegacorp.com

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