Skip to content

more: incomplete error handling for multiple file input #4906

@Ideflop

Description

@Ideflop

While the previous issue ( #4886 ) was solved for single file inputs ( #4888 ) , the code fails when multiple files are given as input. The code currently returns an error and does not continue processing with the remaining files

with GNU more

$ touch file1 file2
$ chmod 244 file1 file2
$ more file1 file2
more: cannot open file1: Permission denied
more: cannot open file2: Permission denied

with uutils more

$ touch file1 file2
$ chmod 244 file1 file2
$ coreutils more file1 file2
more: cannot open 'file1': permission denied

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions