bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8090: strerror(1) and strsignal(1)?


From: Pádraig Brady
Subject: bug#8090: strerror(1) and strsignal(1)?
Date: Sun, 20 Feb 2011 23:34:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

You might consider setting the locale etc.
to get localised strings.

However this was considered before and discounted as overkill:
http://lists.gnu.org/archive/html/bug-coreutils/2010-01/msg00060.html

Personally I use this in my ~/.bashrc

strerror() { python -c "\
import os,locale as l; l.setlocale(l.LC_ALL, ''); print os.strerror($1)"; }

cheers,
Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]