svn commit: r192398 - in head/usr.bin: . perror

George Neville-Neil gnn at FreeBSD.org
Thu May 21 15:21:48 UTC 2009


On May 21, 2009, at 10:52 , M. Warner Losh wrote:

> In message: <20090521110115.GA50355 at FreeBSD.org>
>            Alexey Dokuchaev <danfe at 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..

Sorry to not jump in sooner, but I just wanted to say...

The reason for this program is that it makes it easier for sysadmins  
and script
writers to make sense of programs which they do not control the source  
for.
The program will continue to work no matter how we expand or change  
errno.h.

Best,
George

PS I'd like to paint it red.




More information about the svn-src-all mailing list