Skip to content

minorbug(sort): priotize the compress program over files #13148

Description

@HackingRepo

Hi, uutils mainteners

i see the uu sort, priotize the sort program over the files, the io errors first needs to be priotized, not the sort program, if an io error ocurred like not exist regardless of the sort program successds or no, exit

relunsec@relunsec:~/software/coreutils/target/debug$ sudo ./sort --compress-program whatevernonexistent a /dev/mem
sort: could not run compress program 'whatevernonexistent': No such file or directory
sort: Operation not permitted (os error 1)
relunsec@relunsec:~/software/coreutils/target/debug$ sudo gnusort --compress-program whatevernonexistent a /dev/mem
gnusort: read failed: /dev/mem: Operation not permitted
relunsec@relunsec:~/software/coreutils/target/debug$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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