blob: 4d50b1f3809ba3ea19e15eef0c9f69119655cb4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#! /bin/sh
# Check for long lines
t=__wt.$$
trap 'rm -f $t; exit 0' 0 1 2 3 13 15
l=`(sed -e '/^[a-z]/! d' -e 's,^,../,' filelist ;
ls ../src/include/*.[hi] \
../src/include/*.in \
../test/format/*.[ch] \
../test/thread/*.[ch] \
../test/salvage/*.[ch]) |
egrep -v 'support/stat\.c$'`
for f in $l ; do
expand -t8 < $f | awk -- \
"{if(length(\$0) > 80) printf(\"%s:%d\\n\", \"$f\", NR)}"
done
|