Missing double quote in pstopnm script. The problem manifests itself when invoking the utility without either xsize or ysize. Diffs of the fix follow: 231c231,232 < # neither xsize nor ysize was specified; compute them from xmax and ymax --- > # neither xsize nor ysize was specified; compute them from > # xmax and ymax 234c235 < set xres = `(echo "scale=4";echo "if($xres>$yres)$yres";echo "if($yres>$xres)$xres";echo "if($xres==$yres)$xres")|bc -l` --- > set xres = `(echo "scale=4";echo "if($xres>$yres)$yres";echo "if($yres>$xres)$xres";echo "if($xres==$yres)$xres)|bc -l`
This fix is being incorporated into netpbm-9.5-3, which will replace libgr in the next release.