nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Fixing decoding of quoted messages in replies


From: rader
Subject: Re: [Nmh-workers] Fixing decoding of quoted messages in replies
Date: Mon, 01 Nov 2010 09:50:18 -0500

 > AFAIK this problem is still unsolved. I only found a hack in the FAQ:
 > 
 >     Subject: 05.16 How can I convert quoted-printable to 8bit in
 >                    quoted text in replies?
 >     From: Jarle F. Greipsland <jarle at idt.unit.no>
 >     Date: 22 Aug 1995 10:42:07 +0200

wow.  below you'll find a less convoluted hack.  i seem to be using
it a LOT lately.  perhaps it should be folded into the faq.

steve
--

#!/bin/bash

repl -filter /dev/null -nodraftfolder -nowhatnowproc $*
(cat ~/Mail/draft; echo -e "\n > ---- Original Message ----" ; \
  mhshow cur -type text -nopause -nomoreproc \
    | egrep -v '^Return-Path|^Delivery-Date|^part[ ]+text/plain' \
    | egrep -v '^X-|^MIME' \
    | sed 's/^/ > /' \
  )  > ~/Mail/drafts/999
comp -use -draftfolder drafts -draftmessage 999
rm -f ~/Mail/draft
rm -f ~/Mail/drafts/999




reply via email to

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