standards/61934: [PATCH] FreeBSD's mailx not completely
SUSv3-compliant
Mike Heffner
mheffner at vt.edu
Mon Feb 9 22:40:18 PST 2004
The following reply was made to PR standards/61934; it has been noted by GNATS.
From: Mike Heffner <mheffner at vt.edu>
To: Wartan Hachaturow <wart at tepkom.ru>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: standards/61934: [PATCH] FreeBSD's mailx not completely SUSv3-compliant
Date: Tue, 10 Feb 2004 01:38:15 -0500 (EST)
On 09-Feb-2004 Wartan Hachaturow wrote:
| On Mon, Feb 09, 2004 at 12:59:59AM -0500, Mike Heffner wrote:
|
|
|> checkmail and use it instead for the -e option? Also, the fprintf that
|> displays "No mail for ..." should not be printed when using the -e
|> option.
|> SuSv3 states that when using the -e option, nothing should be printed.
|
| Well, I've interpreted the phrase "The mailx utility shall write nothing
| and exit with a successful return code if there is mail to read" like
| that "one should not print anything in "there is mail" case".
| Of course, since most prospective use of -e is in scripts, printing
| in "no mail" case is, perhaps, futile :)
|
I think the "no mail" case is valid and we shouldn't print anything.
However, I do believe we should still leave in the err[x]() messages for
fatal conditions.
Mike
--
Mike Heffner <mheffner@[acm.]vt.edu>
<mikeh at FreeBSD.org>
More information about the freebsd-standards
mailing list