summaryrefslogtreecommitdiff
path: root/dist/s_longlines
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-07-07 08:42:24 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-07-07 08:42:24 +0000
commit38309317328974e1bbca1b87fda32fc05d63105b (patch)
tree5131aaa886ba1bb21e9c3f73f65e9e9c400f30f1 /dist/s_longlines
parent722a39eb6ccdc0be57bca9e816bdc3e3a9c4e627 (diff)
downloadmongo-38309317328974e1bbca1b87fda32fc05d63105b.tar.gz
Expand test for long lines.
Diffstat (limited to 'dist/s_longlines')
-rw-r--r--dist/s_longlines11
1 files changed, 5 insertions, 6 deletions
diff --git a/dist/s_longlines b/dist/s_longlines
index f5970cda544..ffe6b741bef 100644
--- a/dist/s_longlines
+++ b/dist/s_longlines
@@ -4,13 +4,12 @@
t=__wt.$$
trap 'rm -f $t; exit 0' 0 1 2 3 13 15
-l=`(sed -e '/^[a-z]/! d' -e 's,^,../,' filelist ;
- ls ../examples/c/*.c \
- ../src/include/*.[hi] \
- ../src/include/*.in;
- find ../test -name '*.[ch]' -print) | egrep -v 'support/stat\.c$'`
+l=`(cd .. &&
+ find examples ext src test -name '*.[chisy]' &&
+ find src -name '*.in') |
+ grep -v 'support/stat\.c'`
for f in $l ; do
- expand -t8 < $f | awk -- \
+ expand -t8 < ../$f | awk -- \
"{if(length(\$0) > 80) printf(\"%s:%d\\n\", \"$f\", NR)}"
done