aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/mk-2nd.awk
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ncurses/mk-2nd.awk')
-rw-r--r--contrib/ncurses/mk-2nd.awk11
1 files changed, 9 insertions, 2 deletions
diff --git a/contrib/ncurses/mk-2nd.awk b/contrib/ncurses/mk-2nd.awk
index 2d998b0c5c3d..e90f16d03882 100644
--- a/contrib/ncurses/mk-2nd.awk
+++ b/contrib/ncurses/mk-2nd.awk
@@ -1,4 +1,4 @@
-# $Id: mk-2nd.awk,v 1.11 1998/10/17 21:54:21 Alexander.V.Lukyanov Exp $
+# $Id: mk-2nd.awk,v 1.12 2000/04/01 20:50:36 tom Exp $
##############################################################################
# Copyright (c) 1998 Free Software Foundation, Inc. #
# #
@@ -67,7 +67,14 @@ BEGIN {
}
}
}
- !/^[@#]/ {
+ /^[@#]/ {
+ next
+ }
+ $1 ~ /trace/ {
+ if (traces != "all" && traces != MODEL && $1 != "lib_trace")
+ next
+ }
+ {
if ($0 != "" \
&& using != 0) {
found = 1