Date: Fri, 22 May 2009 13:41:38 +0200 From: Gabor Kovesdan <gabor@FreeBSD.org> To: Robert Watson <rwatson@FreeBSD.org> 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, Bruce Evans <brde@optusnet.com.au>, svn-src-head@freebsd.org, "M. Warner Losh" <imp@bsdimp.com> Subject: Re: svn commit: r192398 - in head/usr.bin: . perror Message-ID: <4A168F72.8020007@FreeBSD.org> In-Reply-To: <alpine.BSF.2.00.0905221139020.17322@fledge.watson.org> References: <e71790db0905201558u1c8e3e90n1fbbfc4011e22909@mail.gmail.com> <20090521132404.cc5be268.stas@FreeBSD.org> <20090521110115.GA50355@FreeBSD.org> <20090521.085256.-1989816394.imp@bsdimp.com> <20090522195717.U22330@delplex.bde.org> <alpine.BSF.2.00.0905221139020.17322@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson escribió:
> 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.
They didn't used to be internationalized strings but since my libc NLS
commit they are. Now we have quite a few catalogs for common languages
so it isn't so trivial any more...
--
Gabor Kovesdan
FreeBSD Volunteer
EMAIL: gabor@FreeBSD.org .:|:. gabor@kovesdan.org
WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A168F72.8020007>
