Path: utzoo!utgpu!jarvis.csri.toronto.edu!neat.cs.toronto.edu!lamy Newsgroups: gnu.bash.bug From: lamy@ai.utoronto.ca (Jean-Francois Lamy) Subject: checking for mail in non-interactive shell? Message-ID: <89Aug2.233140edt.10404@neat.cs.toronto.edu> Date: 3 Aug 89 03:32:34 GMT Another one for gnu.bash.ufo: Scenario: am in GNU emacs, and type the C-@C-uM-| invocation that results in running a command in a subshell and replacing the currently selected piece of text with the result. Much to my surprise, a "You have mail in ..." string appears in the output, which I can only attribute to bash being silly or to some rather interesting file descriptor mix up. Does bash really check for mail in non-interactive shells??? Jean-Francois Lamy lamy@ai.utoronto.ca, uunet!ai.utoronto.ca!lamy AI Group, Department of Computer Science, University of Toronto, Canada M5S 1A4