Hi Anton,

> > psutils 1.17-27 on Ubuntu here.
...
> $ head -n1 /usr/local/bin/psmerge
> #!/usr/local/bin/perl5.16.3

    $ sed q /usr/bin/psmerge
    #!/usr/bin/perl

I suspect it's more to do with that `-27' which shows the number of
local Debian/Ubuntu adjustments made to the upstream vanilla package.
One of the patches punts the work to gs(1) and indeed I see

    $ strace -fe execve psmerge z.ps z.ps >/dev/null
    execve("/usr/bin/psmerge", ["psmerge", "z.ps", "z.ps"], [/* 58 vars */]) = 0
    execve("/usr/bin/gs", ["gs", "-q", "-dNOPAUSE", "-dBATCH",
        "-sDEVICE=pswrite", "-sOutputFile=/dev/stdout", "-f", "z.ps",
        "z.ps"], [/* 58 vars */]) = 0
    $

So just use gs directly?

Cheers, Ralph.

Reply via email to