summaryrefslogtreecommitdiff
path: root/dist/s_define
diff options
context:
space:
mode:
Diffstat (limited to 'dist/s_define')
-rw-r--r--dist/s_define4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/s_define b/dist/s_define
index d98b07a1dda..81a52202d37 100644
--- a/dist/s_define
+++ b/dist/s_define
@@ -18,7 +18,7 @@ for i in \
egrep '^#define' |
sed 's/#define[ ][ ]*\([A-Za-z_]*\).*/\1/' |
sort -u`; do
- if `egrep "$i" $l > /dev/null`; then
+ if `egrep -w "$i" $l > /dev/null`; then
continue
fi
echo $i
@@ -36,7 +36,7 @@ for i in \
sed -e 's/#define[ ][ ]*\([A-Za-z_]*\).*/\1/' \
-e 's/WT_STAT_//' |
sort -u`; do
- if `egrep "$i" $l > /dev/null`; then
+ if `egrep -w "$i" $l > /dev/null`; then
continue
fi
echo "WT_STAT_$i"