Skip to content

different stderr with expr "56" "substr"  #5558

@sylvestre

Description

@sylvestre

With GNU:

/usr/bin/expr "56" "substr"
/usr/bin/expr: syntax error: unexpected argument 'substr'

With our:

./target/debug/coreutils expr "56" "substr"
expr: syntax error (premature end of expression)

Found thanks to fuzzing:
#5557

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions