Xref: utzoo news.software.nn:1871 comp.mail.elm:4015 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!mintaka!ogicse!sequent!muncher.sequent.com!news From: jaap@sequent.com Newsgroups: news.software.nn,comp.mail.elm Subject: Re: alias sharing... Keywords: nn, elm, pl16 Message-ID: <1991Apr22.225315.26370@sequent.com> Date: 22 Apr 91 22:53:15 GMT References: <1991Apr19.025634.11846@mthvax.cs.miami.edu> <1991Apr19.125422.18608@DSI.COM> Sender: news@sequent.com (News on Muncher) Organization: Sequent Computer Sytems, Windows Group, Beaverton, Oregon Lines: 22 X-Phone: (503) 578-4404 X-Internet: jaap@sequent.com X-Uucp: uunet!sequent!jaap In <1991Apr19.125422.18608@DSI.COM> syd@DSI.COM (Syd Weinstein) writes: >Who needs to write C code, just write a shell wrapper around >the "elm -c" command. > >$ elm -c syd >Expands to: syd@dsi.com (Syd Weinstein) > >Then just chop it using expr or sed to remove the stuff you don't >want, such as the Expands to: and the ( ) comment. Ah, see, that's what I get when I give suggestions after reading the manual page but before testing it. Elm is a little too verbose for my taste. :-) Good old MH does it in one step: set mail-alias-expander /ali for me is '/usr/local/bin/mh_6.7'. For most people it will be '/usr/new/mh'. -Jaap-