[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-workers] mhshow display bug
From: |
Paul Fox |
Subject: |
[Nmh-workers] mhshow display bug |
Date: |
Fri, 11 Apr 2014 17:50:26 -0400 |
i currently have this in my mh_profile:
mhshow-charset-iso-8859-1: %s | /usr/bin/iconv -f ISO-8859-1 -t UTF-8 | less
whether i need it currently or not (do i? has the iconv conversion
been internalized?), it seems like it should still work.
but it seems the %s is being dropped, rather than expanded to
the message displayer command, leaving "| iconv" as the command
to be run. what i get (with some obvious debugging added) is this:
$ mhshow
Date: Fri, 11 Apr 2014 13:54:08 -0700
To: xxxxxx
From: xxxxxx
Subject: xxxxxx
In-Reply-To: <address@hidden>
before parse_display_string(): cp: '%l' buffer: 'ads ' [ "ads " is junk from
stack -pgf ]
after parse_display_string(): buffer: ' | /usr/bin/iconv -f ISO-8859-1 -t
UTF-8 | less'
part text/plain 1066
/bin/sh: 1: /bin/sh: Syntax error: "|" unexpected
exit 2
the message has:
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
i tried to figure this out, for a while, but got lost in
parse_display_string(). sorry.
paul
----------------------
paul fox, address@hidden (arlington, ma, where it's 58.3 degrees)