cvs commit: src/lib/libc/stdlib strtonum.3

Tom Rhodes trhodes at FreeBSD.org
Wed Mar 15 22:55:32 UTC 2006


On Wed, 15 Mar 2006 18:47:29 +0200
Ruslan Ermilov <ru at FreeBSD.org> wrote:

> On Wed, Mar 15, 2006 at 05:37:52PM +0100, Dag-Erling Sm?rgrav wrote:
> > Ruslan Ermilov <ru at freebsd.org> writes:
> > > On Wed, Mar 15, 2006 at 03:47:26PM +0100, Andre Oppermann wrote:
> > > > I hate mdoc...
> > > Only if you don't care to check the produced output and stderr.  :-)
> > 
> > which is a lot easier than it sounds - for the uninitiated:
> > 
> > # groff -Tlatin1 -mdoc strtonum.3 2>&1 | less
> > 
> > (you may want to substitute another device for latin1, e.g. utf8 or
> > koi8-r; see grotty(1) for a list of supported devices)
> > 
> Even easier:
> 
> cd /usr/src/lib/libc
> make manlint MAN=strtonum.3			# to check stderr
> make all-man MAN=strtonum.3 -DMANBUILDCAT	# to format

In sh:

nroff -mdoc 1> /dev/null strtonum.3

-- 
Tom Rhodes


More information about the cvs-src mailing list