home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11034 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  929 b 

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!hri.com!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!sifon!anibal
  2. From: anibal@ee470.ee.mcgill.ca (Anibal Jodorcovsky)
  3. Newsgroups: comp.unix.questions,comp.unix.shellalt.unix.wizards
  4. Subject: checking for mail from shell
  5. Message-ID: <1992Sep14.134158.5814@sifon.cc.mcgill.ca>
  6. Date: 14 Sep 92 13:41:58 GMT
  7. Sender: news@sifon.cc.mcgill.ca
  8. Followup-To: comp.unix.shell
  9. Organization: EE Lab, McGill University EE Lab, Montreal
  10. Lines: 18
  11. Nntp-Posting-Host: beetle.ee.mcgill.ca
  12.  
  13.  
  14. Hi all!!!
  15.  
  16. I am trying to check from .login if I have mail.
  17. BUT, it's not just mail what I want to do, since
  18. I want to specify an if...then sort of thing 
  19. IN CASE I have mail.
  20.  
  21. Does anybody know which variable I have to check for
  22. in order to get a proper condition to use it in an
  23. if...then-like statement????
  24.  
  25. Thanks in advance!!
  26.  
  27. -Anibal Jodorcovsky
  28. anibal@ee470.ee.mcgill.ca
  29.  
  30. PS: Note the follow-up!!
  31.