]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - mk-2nd.awk
ncurses 5.1
[ncurses.git] / mk-2nd.awk
index 2d998b0c5c3dae336388be80930773337c7ea99b..e90f16d038827c21c1097b01de971187693d1c98 100644 (file)
@@ -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