Skip to content

gnucompability(pr): uutils pr accept -e=-1 however gnu one rejects it #12766

@HackingRepo

Description

@HackingRepo

Hi, uutils mainteners

that is a compability issue, gnu pr errors out but uutils does not as i see

relunsec@relunsec:~/software/coreutils/target/debug$ ./pr -e=-1 a


2026-06-11 02:29                        a                         Page 1


hello




























































relunsec@relunsec:~/software/coreutils/target/debug$ gnupr -e=-1 a
gnupr: '-e' extra characters or invalid number in the argument: ‘-1Try 'gnupr --help' for more information.
relunsec@relunsec:~/software/coreutils/target/debug$ 

as you can see the gnupr reject the argument however the uutils pr just accept them and paginate anyway, that is incompability with the gnu behavior.

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