Package: aview Version: 1.3.0rc1-8 Filename: pool/main/a/aview/aview_1.3.0rc1-8_i386.deb Found error in /usr/bin/asciiview: $ grep -A5 -B5 /tmp/ /usr/bin/asciiview #!/bin/bash # asciiview - an ascii art image browser script. Front end for aview/aaflip clear() { kill $! 2>/dev/null rm -f /tmp/aview$$.pgm 2>/dev/null } myconvert() { if anytopnm "$1" >/tmp/aview$$.pgm 2>/dev/null ; then exit elif convert -colorspace gray "$1" pgm:- 2>/dev/null ; then exit fi echo "Failed to convert file format to PNM by both convert and anytopnm" >&2 -- shift ;; esac done trap clear 0 mkfifo /tmp/aview$$.pgm outfile=/tmp/aview$$.pgm while [ $counter -gt 0 ]; do counter=$(($counter-1)) name=${filenames[$counter]} if test -r "$name" ; then case "$name" in *.fli | *.lfc | *.flic ) PATH="$PATH:." aaflip $options "$name" ;; *) myconvert "$name" >/tmp/aview$$.pgm & pid=$! PATH="$PATH:." aview $options /tmp/aview$$.pgm kill $pid 2>/dev/null esac else echo "The file '$name' could not be opened." fi