Annotation of 43BSD/ingres/source/count, revision 1.1

1.1     ! root        1: #
        !             2: cp /dev/null count.out
        !             3: 
        !             4: foreach j ( conf ctlmod dbu decomp equel gutil h iutil libq monitor ovqp parser qrymod support )
        !             5:        cd $j
        !             6:        wc *.[chys] | tail -1 >> ../count.out
        !             7:        cd ..
        !             8: end
        !             9: 
        !            10: ex - count.out << 'FRED'
        !            11: 1,$<<
        !            12: 1,$s/ .*$/
        !            13: 1,$s/$/ +/
        !            14: 1s/+/
        !            15: $a
        !            16: p
        !            17: .
        !            18: wq
        !            19: 'FRED'
        !            20: 
        !            21: dc < count.out > tmp
        !            22: echo Total Number of Lines in INGRES Source > count.out
        !            23: echo -n "      " >> count.out
        !            24: cat tmp >> count.out
        !            25: 
        !            26: cat count.out
        !            27: \rm -f tmp count.out

unix.superglobalmegacorp.com

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