File:  [Research Unix] / researchv10dc / vol2 / index / tools / trunind
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

T=/n/pipe/usr/vol2/index/tools
J=`basename $1 .tex`
O=x$J.tex
FILE=$1
echo file=$FILE
tr A-Z a-z <$J.terms|sed 's/\([a-z][a-z/]*\)\.\([a-z][a-z]*\)/\1zz1\2/g'|sort|uniq|awk -f $T/dups.awk >$J.lt
awk -f $T/doinp.awk $FILE|sed 's/\([a-z][a-z]*\)\.\([a-z][a-z]*\)/\1zz1\2/g' >foo
diction -f $J.lt -o $J.hits foo >/dev/null
sed -e 's/zz1/\./g' -e 's/	/<tab>/g' -e 's/{\\sl//' -e 's/{\\em//' -e 's/}//g' -e 's/^ //' $J.hits|tr $ ~ >$J.nh
mv $J.nh $J.hits
tdoinsert $J $FILE >$O
rm $J.lt

unix.superglobalmegacorp.com

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