summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/get-authors3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/get-authors b/contrib/get-authors
index d2bd1e7f5..d70e0ecda 100755
--- a/contrib/get-authors
+++ b/contrib/get-authors
@@ -41,9 +41,10 @@ while [ $# -gt 0 ]; do
# (1) #include
# (2) namespace
# (3) } ... namespace ...
+ # (4) empty lines
#
awk -F ')' \
- '$2 !~ /^[ \t]*(#include|namespace|}.*namespace.*)/ {print $1}' | \
+ '$2 !~ /^[ \t]*(#include|namespace|}.*namespace.*|[ \t]*$)/ {print $1}' | \
# Keep author names only, remove the last 4 columns in ( ... )
awk 'NF{NF-=4};1' | \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback