Annotation of researchv10dc/man/man0/checkrefs, revision 1.1

1.1     ! root        1: H=`pwd`
        !             2: for i in 1 2 3 4 5 6 7 8 9 
        !             3: do cd /usr/man/man$i
        !             4:        egrep '\([1-9][A-Z]?\+?|9\.[0-9]|A\)' *.*|\
        !             5:        sed "s/^/man$i\\//"
        !             6: done |\
        !             7: sed '
        !             8: /IR.*[^ ](/w needblank
        !             9: s/  *(/(/g
        !            10: s/)\.*).*/)/
        !            11: tx
        !            12: :x
        !            13: s/^\([^:]*:\)\(.*\), /\1\2\
        !            14: \1/
        !            15: tx
        !            16: '|\
        !            17: sed -n '
        !            18: s/)[,.;:]/)/
        !            19: s/.IR *//
        !            20: s/.RI[^(]*( //
        !            21: /(.*)/!{
        !            22: d
        !            23: }
        !            24: /0[1234567]*(8)/d
        !            25: /^\(.*\):\([^(]*([^)]*)\)$/!{
        !            26: w nonref
        !            27: d
        !            28: }
        !            29: s//\2 \1/
        !            30: s/^[   ]*//
        !            31: w xref
        !            32: s/ .*//w ref
        !            33: '
        !            34: tr A-Z a-z <xref | sort -u -o xref
        !            35: tr A-Z a-z <ref | sort -u -o ref
        !            36: for i in 1 2 3 4 5 6 7 8 
        !            37: do cd /usr/man/man$i
        !            38:        ls *.* |\
        !            39:        sed "s/\\.[^.]*$/($i)/"
        !            40: done >junk
        !            41: cd /usr/man/man9
        !            42: sed -n '
        !            43: /\.TH/{
        !            44:        s/.TH *//
        !            45:        s/ *\(9\.[1-8]\).*/(\1)/
        !            46:        p
        !            47: }' * | tr A-Z a-z >>$H/junk
        !            48: cd $H
        !            49: #grep '\.so.*usr' `find man[1-8] -size 1 -print` |\
        !            50: #sed '
        !            51: #s/:.*//
        !            52: #s/\.\([^.]\).*/(\1)/
        !            53: #s/.*\///
        !            54: #'|sort - junk|uniq -u >def
        !            55: sort -u junk >def
        !            56: comm -23 ref def >misref
        !            57: join misref xref >badref

unix.superglobalmegacorp.com

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