Package: xpdf
Version: 3.02-14

Today I tried the above version of the xpdf package.
Thank you very much for your work. It is a good idea to unify the commands xpdf
and zxpdf. This should also be documented in the man page of xpdf.

But the problems with blanks in the name of the pdf-document and with the
"-title" option still remain.

Test cases with documents named "alpha.pdf", "xx\ yy\ zzz.pdf.gz",
"alpha\ beta\ g.pdf.gz", and "aa\ bb\ ccc.pdf"

$ xpdf -title x alpha.pdf
ERROR: unknown suffix in file: 'x'

$ xpdf -title "" alpha.pdf
ERROR: unknown suffix in file: ''

$ xpdf xx\ yy\ zzz.pdf.gz
Error: Couldn't open file '/tmp/xx': No such file or directory.

$  xpdf xx\ yy\ zzz.pdf
Error: Couldn't open file '/tmp/xx': No such file or directory.

The commands "xpdf aa\ bb\ ccc.pdf", "xpdf alpha\ beta\ g.pdf.gz",
and "xpdf alpha\ beta\ g.pdf.gz" work correctly.


In the shell script /usr/bin/xpdf, maybe you forgot the shift in line 31

        title="$2" ;;

The lines 75 and 76 together

elif [ "$file" = "" ] || [ "$cat" = "cat" ]; then
    eval $cmd \'$file\' $pages

look like if you meant "$title" instead of "$file" in the elif test.

-- 
Best regards,
Jörg-Volker.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to