home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!hri.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!sifon!anibal
- From: anibal@ee470.ee.mcgill.ca (Anibal Jodorcovsky)
- Newsgroups: comp.unix.questions,comp.unix.shellalt.unix.wizards
- Subject: checking for mail from shell
- Message-ID: <1992Sep14.134158.5814@sifon.cc.mcgill.ca>
- Date: 14 Sep 92 13:41:58 GMT
- Sender: news@sifon.cc.mcgill.ca
- Followup-To: comp.unix.shell
- Organization: EE Lab, McGill University EE Lab, Montreal
- Lines: 18
- Nntp-Posting-Host: beetle.ee.mcgill.ca
-
-
- Hi all!!!
-
- I am trying to check from .login if I have mail.
- BUT, it's not just mail what I want to do, since
- I want to specify an if...then sort of thing
- IN CASE I have mail.
-
- Does anybody know which variable I have to check for
- in order to get a proper condition to use it in an
- if...then-like statement????
-
- Thanks in advance!!
-
- -Anibal Jodorcovsky
- anibal@ee470.ee.mcgill.ca
-
- PS: Note the follow-up!!
-