coreutils icon indicating copy to clipboard operation
coreutils copied to clipboard

basenc: emit partial output on invalid input

Open BenWiederhake opened this issue 11 months ago • 0 comments

This is a GNU behavior bug (i.e. this is a bug because GNU behaves differently, even though uutils' current behavior could be considered reasonable, too).

Example:

$ echo -n 'ze16jx(mMba' | LC_ALL=C basenc --z85 -d # GNU
missing!basenc: invalid input
[$? = 1]
$ echo -n 'ze16jx(mMba' | cargo run basenc --z85 -d # uutils
basenc: error: invalid input
[$? = 1]

I would prefer to first land #6007 before starting work on this issue.

BenWiederhake avatar Feb 24 '24 20:02 BenWiederhake