]> The Tcpdump Group git mirrors - libpcap/commitdiff
Avoid a space before a tab in a comment
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 15 Feb 2023 09:05:00 +0000 (10:05 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 15 Feb 2023 09:05:48 +0000 (10:05 +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 ef120bdb2b3a65d70c172692a6b04f393c4758e5..f85a447a79c6958b8a1aac0bfbd7c5143ae3edb5 100755 (executable)
--- a/mkdep
+++ b/mkdep
@@ -92,7 +92,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/' |
 
 #