Skip to content

cut: -d= works differently than gnu-cut #2424

@SuperSandro2000

Description

@SuperSandro2000

gnu-cat:

echo "--libdir=./out/lib" | cut -f2 -d=
./out/lib

uutils-cat:

echo "--libdir=./out/lib" | result/bin/cut -f2 -d"="
--libdir=./out/lib

Noticed while building rustc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions