|
|
1.1 ! root 1: for i in /usr/man/man[1-9]/* ! 2: do ! 3: awk " ! 4: /^\.TH/ { ! 5: page = \$2 \"(\" \$3 \")\" ! 6: } ! 7: /^\.CT/ { ! 8: section = \$2 ! 9: if(section !~ /[12]/){ ! 10: print \"CT in command missing section \" page ! 11: exit ! 12: } ! 13: for(i=3;i<=NF;i++){ ! 14: if(length(\$i) >10)sname[substr(\$i,1,10)] ! 15: else sname[\$i] = 1 ! 16: } ! 17: } ! 18: /^\.SH NAME/ { ! 19: if(section == \"\")print \"no CT command in \" page ! 20: exit ! 21: }" $i ! 22: done ! 23:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.