Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 22:40:17 -0800 (PST)
From:      Mike Heffner <mheffner@vt.edu>
To:        freebsd-standards@FreeBSD.org
Subject:   Re: standards/61934: [PATCH] FreeBSD's mailx not completely SUSv3-compliant
Message-ID:  <200402100640.i1A6eHbo088061@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/61934; it has been noted by GNATS.

From: Mike Heffner <mheffner@vt.edu>
To: Wartan Hachaturow <wart@tepkom.ru>
Cc: FreeBSD-gnats-submit@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@FreeBSD.org>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402100640.i1A6eHbo088061>