]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Avoid a space before a tab in a comment
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 15 Feb 2023 08:59:17 +0000 (09:59 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 15 Feb 2023 08:59:37 +0000 (09:59 +0100)
This change avoids a false positive when looking for bad indentations.

Moreover:
Replace the deprecated 'egrep' variant by 'grep -E'.

[skip ci]

mkdep

diff --git a/mkdep b/mkdep
index 6496b83195d4f2ae3a4f6ee4f74ff40face9582a..caf547e2f6433197d40be33b8d691469416c4cbb 100755 (executable)
--- 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/' |
 
 #