Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!twwells!bill
From: bill@twwells.com (T. William Wells)
Newsgroups: comp.bugs.sys5
Subject: Re: Bug in mailx(1)
Message-ID: <1989Aug17.003619.579@twwells.com>
Date: 17 Aug 89 00:36:19 GMT
References: <14551@bfmny0.UUCP>
Organization: None, Ft. Lauderdale, FL
Lines: 12

In article <14551@bfmny0.UUCP> tneff@bfmny0.UUCP (Tom Neff) writes:
: Anyway, when you run mailx(1), which I'm not sure why anyone in his
: right mind would to begin with, the -e option (check for mail and report
: results via the exit code) leaves a very nice little lock file dangling
: after it exits (e.g., /usr/mail/tneff.lock).

It's a known bug. :-( The workaround is to just check for the mailbox
yourself: if [ -s /usr/mail/tneff ];....

---
Bill                    { uunet | novavax | ankh | sunvice } !twwells!bill
bill@twwells.com