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: Sam Bobroff <samb <at> firx.net>
Subject: bug#6381: closed (Re: bug#6381: [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 bug report

#6381: [PATCH] Add digit grouping option for file sizes in "ls"

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6381 <at> debbugs.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: 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

[Message part 3 (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 4 (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)]

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.