Skip to content

tr: different behavior than GNU with echo "BB%t"|tr -c -d -s Bt "B"  #6163

@sylvestre

Description

@sylvestre

Playing with a pending tr fuzzer, it found this issue:
With GNU impl:

$ echo "BB%t"|/usr/bin/tr -c -d -s Bt "B"
Bt%

With our:

$ echo "BB%t"|tr -c -d -s Bt "B"
BBt%                                                 

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