Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!tut.cis.ohio-state.edu!ORION.MC.DUKE.EDU!bet From: bet@ORION.MC.DUKE.EDU (Bennett Todd) Newsgroups: gnu.bash.bug Subject: Re: rcp and non-interctive shell checking for mail... Message-ID: <8908041321.AA15970@orion> Date: 4 Aug 89 13:21:56 GMT References: <8908032311.AA23136@aurel.caltech.edu> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 I send myself mail, and then (when I know it is in the mailbox) I type bash -c "echo foo" The only thing that I get is "foo". If you get a message about mail, then that would explain the problem. I get the message about mail unless I have that incantation if test "$PS1" = "";then unset MAILCHECK fi in my .bashrc. -Bennett bet@orion.mc.duke.edu