ray3rd@ssc-vax.UUCP (Ray E. Saddler III) (07/07/90)
[posted for a coworker...I didn't have an answer for him]
In SysV mail, you can pipe a letter into a command or
script (with arguments!) as follows:
| "scriptname arg1 arg2..."
The script would receive the body of the letter, and do
something wonderful and useful with it. How do I do this
in Berkeley mail? I have found a very inelegant, and
kludgey way, as follows:
r <reply to letter>
~f <read in letter>
~| "scriptname arg1 arg2..." <process letter>
~q <cancel reply>
Surely Berkeley mail supplies a more elegant way of
piping than the ugly method shown above?
--
Ray E. Saddler III UseNet ___ ___ ___ ___ ___
CAD System/Network Admin uw-beaver!ssc-vax!ray3rd /__// //__ / /\ // _
P.O. Box 3999 m.s. 3R-05 PhoneNet /__//__//__ _/_ / //__/
Seattle, WA. 98124 USA +1 206-657-2824 Missile Systems Division