X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fmk-test.awk;h=9be0361bfd10c7756c7eb373c4b8fdb18c858f8d;hp=a89c150ef7298ae44050d7082852e5a360222117;hb=efd59f16f336b4c4c698ff783e1723f3161026ef;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/test/mk-test.awk b/test/mk-test.awk index a89c150e..9be0361b 100644 --- a/test/mk-test.awk +++ b/test/mk-test.awk @@ -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;