🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #706

Generating report headers with mush

#706
From: Mitch Mitchell
Date: Fri, 15 Mar 1991 22:50
23 lines
1430 bytes
I am trying to create a mush script to submit report via email.
Has anyone written a script to create a banner etc. in a temporary
file, edit the file, and the mail it to the recipients?

I'm sure I could do this with a shell script to invoke mush after
creating the file but I was curious if anyone had ideas on using
mush's scripting capability alone to do this.

I've started by looking at the "digestify" script to get some ideas,
one thing I can figure out is how I might get the output of mush's
"echo" command to write to a temporary file...

                                            Thanks,

                                          Mitch Mitchell



-- 
**************************************************************************
* {letni | egsner | mic | supernet}!harlie!mitch     Mitch Mitchell      *
* {uunet | texsun | sulaco}!digi!mmitchel      Voice Mail (214) 519-3257 *
* mmitchel@digi.lonestar.org                     FidoNet: 1:124/4115.224 *
Technical Details
Message-ID: <1991Mar15.225012.5764@digi.lonestar.org>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!bcm!convex!texsun!digi!mmitchel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!bcm!convex!texsun!digi!mmitchel
From: mmitchel@digi.lonestar.org (Mitch Mitchell)
Newsgroups: comp.mail.mush
Subject: Generating report headers with mush
Summary: mush script question - header generation
Message-ID: <1991Mar15.225012.5764@digi.lonestar.org>
Date: 15 Mar 91 22:50:12 GMT
Distribution: usa
Organization: DSC Communications Corporation
Lines: 23