Skip to content

minorbug(date): using "+%_::::z" produces different output across the two versions, gnu vs uu output #12876

@HackingRepo

Description

@HackingRepo

Hi, uutils mainteners

that is a minor bug, our test finded

relunsec@relunsec:~/software/coreutils/target/debug$ ./date "+%_::::z" 
%::::z
relunsec@relunsec:~/software/coreutils/target/debug$ gnudate "+%_::::z" 
%_::::z
relunsec@relunsec:~/software/coreutils/target/debug$ 

as i see the gnu one keeps the _ while the uutils one strips it, that is a difference in the output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions