<<< Date Index >>>     <<< Thread Index >>>

Re: Display Filters



On 2006-07-02, Troy Piggins <troy@xxxxxxxxx> wrote:
> * Troy Piggins <troy@xxxxxxxxx> :

> > How can I incorporate both?  Pipe on to the other?
> 
> Never mind.  Figured it out - was trying to pipe within the scripts,
> when I did this it works:
> 
> set display_filter='mail-to-filter | $HOME/bin/display-filter'

I'm glad you got it working, but piping within you script should 
have worked as well, e.g.,

    #v+
    #!/bin/bash
    # http://aperiodic.net/phil/configs/bin/mutt-display-filter

    mail-to-filter |
    sed -e '

    ...

Regards,
Gary

-- 
Gary Johnson                               | Agilent Technologies
garyjohn@xxxxxxxxxxxxxxx                   | Wireless Division
http://www.spocom.com/users/gjohnson/mutt/ | Spokane, Washington, USA