Newsgroups: comp.mail.mush Path: utzoo!utgpu!watserv1!watmath!watmath.waterloo.edu!mskucherawy From: mskucherawy@watmath.waterloo.edu (Murray S. Kucherawy) Subject: Mail reaction Message-ID: <1990Jul4.232345.26143@watmath.waterloo.edu> Sender: mskucherawy@watmath.waterloo.edu (Murray S. Kucherawy) Organization: University of Waterloo, Ontario, Canada Distribution: na Date: Wed, 4 Jul 90 23:23:45 GMT Lines: 17 Hi there - I'm new to mush but I'm very impressed with what I've seen thus far. I'd like to set up something in my .mushrc that behaves much like vacation does, but what I want to do is to perform a command if mail has arrived in my spool file from a particular user, and I can't seem to do it with what I'm trying. Can I pipe the output fromo a "pick" to a variable, and then see if the variable is non-zero? When I try such things, I get errors. Any takers? ============================== Murray S. Kucherawy ========================== Motorola Canada, Ltd. Communications Division, Toronto [on work term] University of Waterloo, Ontario, Canada 2A Math (Comp Sci/Pure Math) Internet: murray@motto.UUCP (work) mskucherawy@watmath.UWaterloo.ca (UW) UUCP: uunet!utai!lsuc!motto!murray uunet!watmath!mskucherawy