Package: mime-support Version: 3.40-1.1 Severity: normal
Trying to do 'see some_file.html' I got this: $ see Prolog\ Tutorial.html sh: -c: line 0: unexpected EOF while looking for matching '' sh: -c: line 1: syntax error: unexpected end of file Warning: program returned non-zero exit code #2 Then I copied /usr/bin/run-mailcap to /tmp, set $debug=1 in the script, and saw: $ LC_ALL=C ./run-mailcap GNU-Prolog\ Manual.html - parsing parameter "GNU-Prolog Manual.html" - Reading mime.types file "/home/stas/.mime.types"... - Reading mime.types file "/etc/mime.types"... - extension "html" maps to mime-type "text/html" - Reading mailcap file "/home/stas/.mailcap"... - Reading mailcap file "/etc/mailcap"... Processing file "GNU-Prolog Manual.html" of type "text/html" (encoding=none)... - checking mailcap entry "text/html; w3m -I %{charset} -T text/html -dump; copiousoutput" - program to execute: w3m -I %{charset} -T text/html -dump - executing: w3m -I ' -T text/html -dump <GNU-Prolog Manual.html | ./run-mailcap --action=view text/plain:- sh: -c: line 0: unexpected EOF while looking for matching '' sh: -c: line 1: syntax error: unexpected end of file Warning: program returned non-zero exit code #2 The corresponding line I have in my ~/.mailcap file is (also seen above): text/html; w3m -I %{charset} -T text/html -dump; copiousoutput -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (90, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.23-minimal (PREEMPT) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash mime-support depends on no packages. Versions of packages mime-support recommends: ii file 4.23-2 Determines file type using "magic" -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]