Next attempt to match an empty line on Windows
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 22 May 2004 14:05:33 +0000 (14:05 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 22 May 2004 14:05:33 +0000 (14:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10960 f5534014-38df-0310-8fa8-9805f1628bb7

make-authors-short.pl

index 39cc77796fa1143ecb558ffb97c2fa61f947bec6..9601e2910ac97e5ed82d76aa05af7c3bebe77d14 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 
-# $Id: make-authors-short.pl,v 1.2 2004/05/21 21:08:41 jmayer Exp $
+# $Id: make-authors-short.pl,v 1.3 2004/05/22 14:05:33 jmayer Exp $
 
 # Remove tasks from individual author entries from AUTHORS file
 # for use in the about dialog.
@@ -16,7 +16,7 @@ while (<>) {
                print "$1\n";
        } elsif (/}/) {
                $subinfo = 0;
-               if (($nextline = <>) !~ /^$/) {
+               if (($nextline = <>) !~ /^[\s\r]*$/) {
                        print $nextline;
                }
        } elsif ($subinfo == 1) {