Package: polygen-data
Version: 1.0.6.ds2-6
Tags: patch
Severity: minor

Calling polyfind without any arguments emits a line that is not terminated
by a newline character:

  % strace -ewrite polyfind
  write(2, "Usage: polyfind grammar"..., 23Usage: polyfind gramm [..]
                                  ^^^

This breaks a few (perhaps older) shells. Patch attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [EMAIL PROTECTED]
       `-
diff -urNd polygen-1.0.6.ds2.orig/debian/polyrun 
polygen-1.0.6.ds2/debian/polyrun
--- polygen-1.0.6.ds2.orig/debian/polyrun       2008-11-21 19:49:55.000000000 
+0000
+++ polygen-1.0.6.ds2/debian/polyrun    2008-11-21 19:51:41.000000000 +0000
@@ -64,7 +64,7 @@
        if (@ARGV) {
                print grmfind($ARGV[0]), "\n";
        } else {
-               print STDERR "Usage: $scriptname grammar";
+               print STDERR "Usage: $scriptname grammar\n";
        }
 }
 else

Attachment: signature.asc
Description: PGP signature

Reply via email to