Package: xpdf
Version: 3.02-12
Severity: normal

A blank in the string given as argument to the option "-title" also results in
erroneous behavior of the script zxpdf, due to missing quotes around the
variable "title" in the script.
For example,

$ zxpdf -title "a b" x.pdf.gz

results in

Error: Couldn't open file 'b': No such file or directory.

Furthermore, using an empty argument

$ zxpdf -title "" x.pdf.gz

doesn't display the document. To correct this in the script, the block (the
missing quotes around the variable "title" are already inserted)

if [ x"$title" == x -a x"$tmp" != x ]
then
    title="zxpdf: $file"
fi

has to be moved behind the definition of the variable "tmp".

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