GNU bug report logs - #66698
I think hex decoding with basenc -d --base16 should be case-insensitive

Previous Next

Package: coreutils;

Reported by: Niels Möller <nisse <at> lysator.liu.se>

Date: Mon, 23 Oct 2023 09:39:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>, Niels Möller <nisse <at> lysator.liu.se>
Cc: 66698 <at> debbugs.gnu.org
Subject: bug#66698: I think hex decoding with basenc -d --base16 should be case-insensitive
Date: Tue, 24 Oct 2023 18:30:39 -0700
On 10/23/23 06:08, Pádraig Brady wrote:
> However the default operation should be the
> most common requirement (and also the RFC documented operation in this 
> case).
> A similar case I hit very frequently is pasting hex into bc, and it's
> very annoying to have to convert to uppercase before doing this.

Doesn't the isbase16 function also need updating?

Also, shouldn't we do something similar for base 32, for consistency?




This bug report was last modified 1 year and 268 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.