Delete double blank lines from the input.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 28 Oct 2009 10:54:11 +0000 (10:54 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 28 Oct 2009 10:54:11 +0000 (10:54 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1287 d57e44dd-8a1f-0410-8b47-8ef2f437770f

scripts/specialize-patch

index 26b50b9..4a428ec 100755 (executable)
@@ -417,6 +417,9 @@ BEGIN {
       # Store the lines that were just read.
       for (i = 0; i < input_line_count; i++)
         line[lines++] = input_line[i]
+      # Delete double blank lines from the input.
+      if (line[lines-1] == "+")
+        delete_next_blank_line = 1
     }
     else
     {