mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
basenc: --base16: also allow lower case with --ignore-garbage
* src/basenc.c (isbase16): Also return true for lower case. * tests/basenc/basenc.pl: Add a test case. Reported by Paul Eggert.
This commit is contained in:
@@ -160,6 +160,7 @@ my @Tests =
|
||||
{ERR=>"$prog: invalid input\n"}],
|
||||
['b16_8', '--base16 -d', {IN=>"AB\nCD"}, {OUT=>"\xAB\xCD"}],
|
||||
['b16_9', '--base16 -d', {IN=>lc ($base16_out)}, {OUT=>$base16_in}],
|
||||
['b16_10', '--base16 -d -i', {IN=>lc ($base16_out)}, {OUT=>$base16_in}],
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user