Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!dali.cs.montana.edu!milton!uw-beaver!fluke!ssc-vax!ray3rd From: ray3rd@ssc-vax.UUCP (Ray E. Saddler III) Newsgroups: comp.misc,comp.mail Subject: Processing mail; differences between SYSV & Berkeley Keywords: help Message-ID: <3432@ssc-vax.UUCP> Date: 6 Jul 90 19:48:45 GMT Organization: Boeing Aerospace & Electronics, Seattle WA Lines: 25 [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 ~f ~| "scriptname arg1 arg2..." ~q 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