GNU bug report logs - #6381
[PATCH] Add digit grouping option for file sizes in "ls"

Previous Next

Package: coreutils;

Reported by: Sam Bobroff <samb <at> firx.net>

Date: Wed, 9 Jun 2010 06:17:02 UTC

Severity: wishlist

Tags: moreinfo, patch

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Bob Proulx <bob <at> proulx.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6381: closed ([PATCH] Add digit grouping option for file
 sizes in "ls")
Date: Fri, 11 Jun 2010 01:10:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 10 Jun 2010 19:09:45 -0600
with message-id <20100611010945.GA27785 <at> dementia.proulx.com>
and subject line Re: bug#6381: [PATCH] Add digit grouping option for file sizes in "ls"
has caused the GNU bug report #6381,
regarding [PATCH] Add digit grouping option for file sizes in "ls"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6381: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6381
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Sam Bobroff <samb <at> firx.net>
To: bug-coreutils <at> gnu.org
Subject: [PATCH] Add digit grouping option for file sizes in "ls"
Date: Wed, 09 Jun 2010 14:05:29 +1000
[Message part 3 (text/plain, inline)]
Hello,

Please excuse me if I'm not going about this the right way but I would
like to offer a tiny patch for "ls" that adds an option to turn on digit
grouping for file sizes in the long output format.

(The support for displaying digit grouping is already present, all that
is required is an option for turning it on.)

I find it a very nice way to view file sizes because it makes it easy to
read the size of large files (like -h) but it does not hide any
information (unlike -h).

For example:

$ ls -l bigfile
-rw-r--r-- 1 samb samb 2146034154 2010-06-08 14:55 big.log

$ ls -ly bigfile
-rw-r--r-- 1 samb samb 2,146,034,154 2010-06-08 14:55 big.log

(The patch is against the latest git checkout but I have only actually
compiled it against the latest .tar release due to dependencies.)

Peace out,
Sam Bobroff.
[ls.diff (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Bob Proulx <bob <at> proulx.com>
To: Sam Bobroff <samb <at> firx.net>
Cc: 6381-done <at> debbugs.gnu.org
Subject: Re: bug#6381: [PATCH] Add digit grouping option for file sizes in "ls"
Date: Thu, 10 Jun 2010 19:09:45 -0600
Sam Bobroff wrote:
> Oh! How embarrassing. I'd very carefully read the man page looking for
> this but I never thought it would only be documented in the info pages
> (yes, even though the man page states that the full documentation is in
> the info pages). Well, we live and learn.
>
> It's great that it already has this feature :-)

Those are the easiest bugs to fix!  :-)

And so I am going to mark the bug as done and close it with this
message.

Bob


This bug report was last modified 15 years and 44 days ago.

Previous Next


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