File:  [CSRG BSD Unix] / 43BSD / ingres / source / count
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

#
cp /dev/null count.out

foreach j ( conf ctlmod dbu decomp equel gutil h iutil libq monitor ovqp parser qrymod support )
	cd $j
	wc *.[chys] | tail -1 >> ../count.out
	cd ..
end

ex - count.out << 'FRED'
1,$<<
1,$s/ .*$/
1,$s/$/ +/
1s/+/
$a
p
.
wq
'FRED'

dc < count.out > tmp
echo Total Number of Lines in INGRES Source > count.out
echo -n "	" >> count.out
cat tmp >> count.out

cat count.out
\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.