From owner-svn-src-head@FreeBSD.ORG Fri May 22 10:02:50 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 771B2106564A; Fri, 22 May 2009 10:02:50 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id E62258FC1C; Fri, 22 May 2009 10:02:49 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c122-107-117-19.carlnfd1.nsw.optusnet.com.au (c122-107-117-19.carlnfd1.nsw.optusnet.com.au [122.107.117.19]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4MA2eDg027217 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 May 2009 20:02:42 +1000 Date: Fri, 22 May 2009 20:02:39 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: "M. Warner Losh" In-Reply-To: <20090521.085256.-1989816394.imp@bsdimp.com> Message-ID: <20090522195717.U22330@delplex.bde.org> References: <20090521132404.cc5be268.stas@FreeBSD.org> <20090521110115.GA50355@FreeBSD.org> <20090521.085256.-1989816394.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: unixmania@gmail.com, danfe@freebsd.org, src-committers@freebsd.org, peterjeremy@optushome.com.au, svn-src-all@freebsd.org, stas@freebsd.org, gnn@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r192398 - in head/usr.bin: . perror X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2009 10:02:50 -0000 On Thu, 21 May 2009, M. Warner Losh wrote: > In message: <20090521110115.GA50355@FreeBSD.org> > Alexey Dokuchaev writes: > : > Given how easy it is to "grep <> /usr/include/sys/errno.h" or > : > perl -e '$! = <>; 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