aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-02-15 09:59:17 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2023-02-15 20:11:56 +0100
commitf9f2701851833c6c1c98158df53f15d7e32db25e (patch)
tree2ec3a857216164057a2017c78a062ba2f87e754b
parent7ceb6016de4e188a215427bc035a941ad1fceb1c (diff)
downloadtcpdump-f9f2701851833c6c1c98158df53f15d7e32db25e.tar.gz
Avoid a space before a tab in a comment
This change avoids a false positive when looking for bad indentations. Moreover: Replace the deprecated 'egrep' variant by 'grep -E'. (cherry picked from commit 17fb9526b1feff7875e3ec00427dfcb8096e8621) [skip ci]
-rwxr-xr-xmkdep2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkdep b/mkdep
index 6496b831..caf547e2 100755
--- a/mkdep
+++ b/mkdep
@@ -87,7 +87,7 @@ _EOF_
# hack can't deal with anything that requires a search path, and doesn't
# even try for anything using bracket (<>) syntax.
#
-# egrep '^#include[ ]*".*"' /dev/null $* |
+# grep -E '^#include[[:blank:]]*".*"' /dev/null $* |
# sed -e 's/:[^"]*"\([^"]*\)".*/: \1/' -e 's/\.c/.o/' |
#