Re: Piping output mutt perl

From: Paul D. Kraus (pkraus_at_pelsupply.com)
Date: 05/10/04


Date: Mon, 10 May 2004 12:27:54 -0400
To: beginners@perl.org

On Mon, May 10, 2004 at 12:23:44PM -0400, Paul D. Kraus wrote:
> I have a perl script that parses an email.
> I use mutt and then just use the pipe command.
> I would like to be able to pipe the output of my script then to mutt to send the parsed email to someone else.
> I can do this in mutt but just hitting the pipe char then typeing the name of my script then | again and the mutt syntax.
>
> The only problem is thats kind of lengthy i would like to have a script wrap my script that would have the mutt command built into it.
> or better yet just in the normal script pipe the out put of script to mutt instead of stdout.
>
> I know this can be done but for the life of me can't find it.
>

Got it open (STDOUT, "|cmd" )

:)

-- 
Paul D. Kraus
~=~=~=~=~=~=~=~=~=~=~=~=~
~ Network Administrator ~
~ PEL Supply Company    ~
~ 216.267.5775 Voice    ~
~ 216.267.6176 Fax      ~
~=~=~=~=~=~=~=~=~=~=~=~=~
~   www.pelsupply.com   ~
~=~=~=~=~=~=~=~=~=~=~=~=~


Relevant Pages

  • Re: Different thread (Was: Re: suse 9.1 upgrade)
    ... taking that I touched mutt 10 years ago. ... Open few terminals, edit script in one, run test in ... > 2) making a DVD iso from an avi according to ... Put all steps in script. ...
    (alt.os.linux.suse)
  • Re: Mutt and Hashcash
    ... (translated into English by me;-)) ... about the script part. ... the script it set to find your hashcash. ... I added the path to the script, so that mutt doesn't ...
    (comp.mail.mutt)
  • Mailcap question: should %s be quoted?
    ... And in fact, I discussed this once on the Mutt list, last ... What's the mailcap specification? ... The problem is when there's a script front-end for running a program ... where the "see" command does: ...
    (Debian-User)
  • Piping output mutt perl
    ... I use mutt and then just use the pipe command. ... I would like to be able to pipe the output of my script then to mutt to send the parsed email to someone else. ...
    (perl.beginners)
  • I can process my mail!
    ... I figured out how to pipe mail to my own scripts! ... the script as an argument. ... that won't confuse boundaries for message text. ... sendmail, but I'm not that interested in sendmail in particular. ...
    (comp.unix.questions)