Piping output mutt perl

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


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

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.

-- 
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)
  • Re: 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)
  • accessing a pipe from TCL and C, hang in `close/exit
    ... I have a TCL shell script which opens a socket to some remote host, ... and opens a read-converter pipe. ... data arrives on the remote host. ... Now I want to close the channel from C++: ...
    (comp.lang.tcl)