Package: xpdf Version: 3.02-12 Severity: normal Trying to view a compressed pdf-file named "x y z.pdf.gz" with the command
$ zxpdf "x y z.pdf" results in the following error message: /usr/bin/zxpdf: line 23: [: too many arguments /usr/bin/zxpdf: line 24: [: too many arguments /usr/bin/zxpdf: line 25: [: too many arguments /usr/bin/zxpdf: line 26: [: too many arguments /usr/bin/zxpdf: line 27: [: too many arguments ERROR: file missing `x y z.pdf' This is due to missing quotes in the lines 23 to 27 which should read if [ -f "$file" ] ; then cat="" elif [ -f "$file.Z" ] ; then file="$file.Z" ; cat=zcat elif [ -f "$file.gz" ] ; then file="$file.gz" ; cat=zcat elif [ -f "$file.bz2" ] ; then file="$file.bz2" ; cat=bzcat elif [ -f "$file.xz" ] ; then file="$file.xz" ; cat=xzcat Another deficiency (not an error): line 54 should either read tmp=$(tempfile -p "${tmp%.[Pp][Dd][Ff]*}" -s .pdf) or simpler, since tempfile only uses the first(?) 5 characters with the "-p" switch tmp=$(tempfile -p "$tmp" -s .pdf) 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