Skip to content

CoreUtils HashAlgorithm aborts, if 1 input of several does'nt exist #7906

@Somebody111de

Description

@Somebody111de

Hello,

when called with multiple inputs, CoreUtils aborts, if 1 input does'nt exist.

Example:

CoreUtils sha256sum *.7z *.zip *.rar *.rev

  • If *.7z does'nt exist, but another, CoreUtils makes Error-Message and aborts.

  • If .7z+.rar exist and *.zip does'nt exist, *.7z is processed and the rest not; CoreUtils makes Error-Message and aborts after *.zip.

Could this be changed, so that it doesn't abort, but just displays an Error-Message and the rest is still processed?

Affects not only sha256sum, but all hash algorithms.

This worked in earlier versions of GNU-CoreUtils (e.g. v6.9). In newer versions of GNU-CoreUtils (v8.32/v9.70), it no longer works either.

I realize, the problem can be avoided with a FOR loop, but it would be easier and faster without it.

Thanks for your good compilation and have a nice day.

Greatings

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