Date: Sun, 8 Feb 2004 22:50:22 -0800 (PST) From: Wartan Hachaturow <wart@tepkom.ru> To: freebsd-standards@FreeBSD.org Subject: Re: standards/61934: [PATCH] FreeBSD's mailx not completely SUSv3-compliant Message-ID: <200402090650.i196oMBp057146@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: Wartan Hachaturow <wart@tepkom.ru> To: Mike Heffner <mheffner@vt.edu> Cc: Wartan Hachaturow <wart@tepkom.ru>, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: standards/61934: [PATCH] FreeBSD's mailx not completely SUSv3-compliant Date: Mon, 9 Feb 2004 09:37:35 +0300 On Mon, Feb 09, 2004 at 12:59:59AM -0500, Mike Heffner wrote: > I've done a quick first pass, comments are inlined. Okay, thanks for looking at this :) I'll fix the issues you're pointed at, and submit a new version of the patch. > 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 :) -- Regards, Wartan. "Be different: conform."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402090650.i196oMBp057146>