]> thyrsus.com Git - comparator.git/commitdiff
Pre-ship cleanup.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 8 Sep 2003 08:57:30 +0000 (08:57 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 8 Sep 2003 08:57:30 +0000 (08:57 +0000)
filterator

index b99a1d44ed74ef25e4bf6b0cd51f87a28fb6fa97..50c8043db0ce2c96319d15586686f00ea27a275b 100755 (executable)
@@ -70,7 +70,7 @@ if __name__ == '__main__':
     merge_program = None
     id = sys.stdin.readline()
     if not id.startswith("#SCF-B "):
-        sys.stderr.write("filterator: input is not a SCF-B file.")
+        sys.stderr.write("filterator: input is not a SCF-B file.\n")
         sys.exit(1)
     while True:
         line = sys.stdin.readline()
@@ -87,11 +87,11 @@ if __name__ == '__main__':
         elif tag == "Hash-Method":
             hash_method = value
 
-    print "#SCF-C 1.0"
     print "Filter-Program: filterator 1.0"
+    print "Filtering:", ("C-syntax", "none")[nofilter]
     print "Hash-Method: MD5"
     if merge_program:
-        print "Merge=Program:", merge_program
+        print "Merge-Program:", merge_program
     print "Normalization:", normalization
     print "Shred-Size: %d" % shredsize
     print "%%"