🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jean-Francois Lamy Thu, 03 Aug 1989 03:32
checking for mail in non-interactive shell?
#414
Author: Jean-Francois Lamy
Date: Thu, 03 Aug 1989 03:32
11 lines
905 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads