GNU bug report logs - #16838
Confusing localization of seq

Previous Next

Package: coreutils;

Reported by: Göran Uddeborg <goeran <at> uddeborg.se>

Date: Fri, 21 Feb 2014 22:50:02 UTC

Severity: normal

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: Göran Uddeborg <goeran <at> uddeborg.se>
To: 16838 <at> debbugs.gnu.org
Subject: bug#16838: Confusing localization of seq
Date: Fri, 21 Feb 2014 23:48:21 +0100
It seems the input arguments of "seq" are not localized, but the
output is.  I was surprised to find this, and thought I'd ask here if
it is an intentional decision.

More specifically, I'm using the Swedish locale, where the radix
character is a comma.  The arguments to "seq" does not accept a comma,
but the output is written using it.

    mimmi$ env LANG=sv_SE.utf8 seq 1 0.3 2
    1,0
    1,3
    1,6
    1,9

I realized this using coreutils-8.21 on Fedora.




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

Previous Next


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