emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#11794: closed (Bug is 'ls -k' command)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11794: closed (Bug is 'ls -k' command)
Date: Tue, 26 Jun 2012 21:33:02 +0000

Your message dated Tue, 26 Jun 2012 15:28:46 -0600
with message-id <address@hidden>
and subject line Re: bug#11794: Bug is 'ls -k' command
has caused the debbugs.gnu.org bug report #11794,
regarding Bug is 'ls -k' command
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11794: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11794
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Bug is 'ls -k' command Date: Tue, 26 Jun 2012 15:11:43 -0500
When I use the -k switch with ls, like 'ls -lk' it used to show all
the file sizes in kibibytes.  Now the switch, -k or --kibibytes has no
effect at all.  This is with coreutils 8.17.



--- End Message ---
--- Begin Message --- Subject: Re: bug#11794: Bug is 'ls -k' command Date: Tue, 26 Jun 2012 15:28:46 -0600 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
tag 11794 notabug
thanks

On 06/26/2012 02:11 PM, Joseph Felps wrote:
> When I use the -k switch with ls, like 'ls -lk' it used to show all
> the file sizes in kibibytes.  Now the switch, -k or --kibibytes has no
> effect at all.  This is with coreutils 8.17.

Thanks for the report.  However, from the NEWS for 8.15:

  ls's -k option no longer affects how ls -l outputs file sizes.
  It now affects only the per-directory block counts written by -l,
  and the sizes written by -s.  This is for compatibility with BSD
  and with POSIX 2008.  Because -k is no longer equivalent to
  --block-size=1KiB, a new long option --kibibyte stands for -k.
  [bug introduced in coreutils-4.5.4]

Sounds like you want to use --block-size=1KiB instead.  Our change to -k
was intentional, to match POSIX, so this is not a bug.

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org



Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]