On Thu, 21 May 2009, M. Warner Losh wrote:

In message: <20090521110115.ga50...@freebsd.org>
           Alexey Dokuchaev <da...@freebsd.org> writes:
: > Given how easy it is to "grep <<errno>> /usr/include/sys/errno.h" or
: > perl -e '$! = <<errno>>; print "$!\n";'
: > I'm not sure of the utility of this tool.
:
: User scripts should not depend on presence of system include files.
: Now, just to mention, Nick's suggestion about dropping extra noise
: actually good one.

There's also internationalization that actually happens too, right?
That doesn't happen with grep..

What about with "man errno".  Man pages are slightly more likely to be
present than application (not system) include files, and man should
support localization.  It gives more noise than grepping an include
file, but the noise might be signal and can be filtered.

Bruce
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to