GNU bug report logs - #14525
ls -k produced no size, ls -lk lists in bytes? What's up w/k?

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Sat, 1 Jun 2013 01:05:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 14525 <at> debbugs.gnu.org (full text, mbox):

From: Linda Walsh <coreutils <at> tlinx.org>
To: Eric Blake <eblake <at> redhat.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 14525 <at> debbugs.gnu.org
Subject: Re: bug#14525: ls -k produced no size,
	ls -lk lists in bytes?  What's up w/k?
Date: Sat, 01 Jun 2013 18:25:11 -0700

Eric Blake wrote:
  If you think there is an extension
> missing in ls to display something that you need, feel free to write a
> patch to provide that extension 
====
Actually it's a desire to have what Used to be there before...


Astarte:law> ll *.iso
-rw-rw-r-- 1 734646272 2011-01-13 07:45 OMSA64-CentOS55-x86_64-LiveCD.iso
               ^^ size in bytes...
Astarte:law> ll -k *.iso
-rw-rw-r-- 1 717428 2011-01-13 07:45 OMSA64-CentOS55-x86_64-LiveCD.iso
                ^^ size in K....
Astarte:law> ll --block-size=M *.iso
-rw-rw-r-- 1 701M 2011-01-13 07:45 OMSA64-CentOS55-x86_64-LiveCD.iso
              ^^^ and size in Megabytes -- even with the 'M'...

I could send you a patch from 7.1, but you probably already have
a more recent version that doesn't have functionality removed?






This bug report was last modified 6 years and 215 days ago.

Previous Next


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