GNU bug report logs - #8090
new programs: strerror(1) and strsignal(1)?

Previous Next

Package: coreutils;

Reported by: Bruce Korb <bruce.korb <at> gmail.com>

Date: Sun, 20 Feb 2011 22:44:02 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruce Korb <bruce.korb <at> gmail.com>
Cc: 8090 <at> debbugs.gnu.org
Subject: bug#8090: strerror(1) and strsignal(1)?
Date: Sun, 20 Feb 2011 23:34:08 +0000
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.




This bug report was last modified 6 years and 269 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.