Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!scott From: scott@csusac.csus.edu (L. Scott Emmons) Newsgroups: alt.sources Subject: 'from' alias in csh Message-ID: <1990Jan6.183428.11336@csusac.csus.edu> Date: 6 Jan 90 18:34:28 GMT Organization: California State University, Sacramento Lines: 18 I've noticed some recent postings regarding 'from' type programs for mail. For those of us without perl (yet!), the following csh alias will list who mail is from, with a date and a subject (an improvement over /usr/ucb/from). If someone has already posted something like this then Sorry! Note a couple of things: - This assumes mail headers are like they are at our site -- if it doesn't work for you change it or don't use it...don't tell me there's a bug, cuz there ain't... - The environment variable MAIL should read '/usr/spool/mail/YOURLOGINHERE' --- alias from "^From |^Subject:" $MAIL -- L. Scott Emmons --------------- ...[!ucbvax]!ucdavis!csusac!scott ucdavis!csusac!scott@ucbvax.berkeley.edu