Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2009 18:57:21 +0100
From:      Daniel Gerzo <danger@FreeBSD.org>
To:        Hiroki Sato <hrs@FreeBSD.org>
Cc:        danger@FreeBSD.org, doc@FreeBSD.org, brueffer@FreeBSD.org
Subject:   Re[2]: svn commit: r186737 - head/sbin/geom/class/virstor
Message-ID:  <1289663263.20090104185721@rulez.sk>
In-Reply-To: <20090105.025058.119952164.hrs@allbsd.org>
References:  <200901041541.n04Ff1Oh060753@svn.freebsd.org> <20090104155832.GA1257@haakonia.hitnet.RWTH-Aachen.DE> <287359450.20090104174842@rulez.sk> <20090105.025058.119952164.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Hiroki,

Sunday, January 4, 2009, 6:50:58 PM, you wrote:

> Daniel Gerzo <danger@freebsd.org> wrote
>   in <287359450.20090104174842@rulez.sk>:

da>> Hello Christian,
da>>
da>> Sunday, January 4, 2009, 4:58:32 PM, you wrote:
da>>
da>> > While using .Ex is good, collapsing EXIT STATUS into DIAGNOSTICS is =
not.
da>> > EXIT STATUS is a standard section in our manpages and it's orthogona=
l to
da>> > DIAGNOSTICS.
da>>
da>> I am fine to revert this part, however I have trimmed this section
da>> just because I didn't see it listed in the PAGE STRUCTURE DOMAIN
da>> section of the mdoc(7) manual page.
da>>
da>> Interestingly, it lists the DIAGNOSTICS section and explicitly
da>> says that .Ex macro should be used there.

>  Is using .Ex macro really correct?.  When geom(1) fails the exit
>  status will be 1, not >0.  While many commands whose manual page says
>  so return 1 on an error actually (especially when it is in POSIX),
>  the two are not the same at least.

I thought that 1 > 0 ... (?)

--=20
Best regards,
 Daniel                            mailto:danger@FreeBSD.org




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