]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/mk-test.awk
ncurses 5.6 - patch 20070120
[ncurses.git] / test / mk-test.awk
index a89c150ef7298ae44050d7082852e5a360222117..9be0361bfd10c7756c7eb373c4b8fdb18c858f8d 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: mk-test.awk,v 1.4 2006/10/21 22:56:50 tom Exp $
+# $Id: mk-test.awk,v 1.5 2007/01/20 21:28:47 tom Exp $
 ##############################################################################
-# Copyright (c) 2006 Free Software Foundation, Inc.                          #
+# Copyright (c) 2006,2007 Free Software Foundation, Inc.                     #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
@@ -34,7 +34,13 @@ BEGIN        {
                first = 1;
                count = 0;
        }
-!/^#/  {
+/^#/   {
+               next;
+       }
+/^$/   {
+               next;
+       }
+       {
                if (first) {
                        print "# generated by mk-test.awk\n";
                        first = 0;