8000 seq: Seq doesn't use system locale for output numbers · Issue #8224 · uutils/coreutils · GitHub
[go: up one dir, main page]

Skip to content
seq: Seq doesn't use system locale for output numbers #8224
Open
@Maximkaaa

Description

@Maximkaaa

GNU seq uses printf style format, which chooses the decimal separator based on the system locale stored in LC_NUMERIC variable. Uutils seq is not aware of the locale:

$ LC_NUMERIC="ru_RU.UTF-8" seq 0 1.5 3
0,0
1,5
3,0

$ LC_NUMERIC="ru_RU.UTF-8" cargo run seq 0 1.5 3
0.0
1.5
3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0