Skip to content

seq: zero gets padded if specified with scientific notation #6926

@cakebaker

Description

@cakebaker

I noticed that if I specify zero with scientific notation (and without specifying -w), the zero gets padded. With GNU seq, there is no padding:

$ cargo run -q seq 0e15 1
0000000000000000
1
$ seq 0e15 1
0
1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions