From owner-svn-src-head@FreeBSD.ORG Fri May 22 10:41:39 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 91707106564A; Fri, 22 May 2009 10:41:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 66CF48FC13; Fri, 22 May 2009 10:41:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id E2EEA46B89; Fri, 22 May 2009 06:41:38 -0400 (EDT) Date: Fri, 22 May 2009 11:41:38 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Bruce Evans In-Reply-To: <20090522195717.U22330@delplex.bde.org> Message-ID: References: <20090521132404.cc5be268.stas@FreeBSD.org> <20090521110115.GA50355@FreeBSD.org> <20090521.085256.-1989816394.imp@bsdimp.com> <20090522195717.U22330@delplex.bde.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Fri, 22 May 2009 11:26:05 +0000 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, "M. Warner Losh" 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:41:40 -0000 On Fri, 22 May 2009, Bruce Evans wrote: >> : 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. For me, at least, a simple text -> errno name ("EPERM") would go a long way, since they aren't internationalized strings, and are therefore usable in scripts in useful ways. On the topic of man pages though -- I was interested to see that Mac OS X does not ship with an errno(2), despite shipping with a BSD-derived errno.h. Robert N M Watson Computer Laboratory University of Cambridge