GNU bug report logs - #23388
[PATCH] size option may want to reject "bB" or "biB" suffix

Previous Next

Package: coreutils;

Reported by: Young Mo Kang <kym327 <at> gmail.com>

Date: Wed, 27 Apr 2016 16:44:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 23388-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Young Mo Kang <kym327 <at> gmail.com>, 23388-done <at> debbugs.gnu.org
Subject: Re: bug#23388: [PATCH] size option may want to reject "bB" or "biB"
 suffix
Date: Wed, 27 Apr 2016 12:12:03 -0700
[Message part 1 (text/plain, inline)]
On 04/27/2016 09:29 AM, Young Mo Kang wrote:
> different programs within coreutils accept different
> size suffixes. For example, split's valid suffix is "bEGKkMmPTYZ0" while
> shred's is "cbBkKMGTPEZY0". I thought maybe it is better to unify valid
> suffix for all the programs within coreutils.

The intent, as I recall, was to prefer a standard set of suffixes listed 
in the "Block size" section of the Coreutils manual. Some programs 
accept additional suffixes for historical reasons but we'd rather not 
encourage the use of these obsolescent usages.

Thanks for reporting the glitch. I installed the attached patch into Gnulib.

[0001-xstrtol-prohibit-monstrosities-like-1bB.patch (application/x-patch, attachment)]

This bug report was last modified 9 years and 26 days ago.

Previous Next


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