Skip to content

Conversation

cakebaker
Copy link
Contributor

Currently, an error is shown if the input provided to basenc --base16 --decode contains lowercase characters. This PR fixes this issue and allows lowercase characters. It also makes the tests b16_9 and b16_10 in basenc.pl pass.

// before change
$ printf "48656c6c6f2c20576f726c6421" | cargo run basenc --base16 -d
basenc: error: invalid input

// after change
$ printf "48656c6c6f2c20576f726c6421" | cargo run basenc --base16 -d
Hello, World!

Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@sylvestre sylvestre merged commit 7c65243 into uutils:main Dec 17, 2024
61 of 62 checks passed
@cakebaker cakebaker deleted the basenc_fix_b16_9_and_10 branch December 17, 2024 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants