[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] 'repl -format' to mime-messages

From: Oliver Kiddle
Subject: Re: [Nmh-workers] 'repl -format' to mime-messages
Date: Wed, 15 Sep 2004 14:51:22 +0200

You wrote:
> Is there any sensible way to make 'repl -format' only quote the
> text parts of a mime message? (It would be nice if it decoded them too.)

There isn't a "sensible" way. I use a wrapper script (around vi) as my
message editor and the script includes the following:

if [[ -n $editalt ]]; then
  mhshow -part 1 -form mhl.null -file $editalt | sed -e '1 d' -e 's/^/> /' >&3

File descriptor 3 is initialised further up with `exec 3>$1' (the script
does a lot else besides).

That works if part 1 of the message is the text component which it
usually is. It probably also relies on other parts of my setup such as
piping text/html messages through lynx -dump.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]