Subject: bug#18503: [bug-report] the output of ls -lsh

From: gemfield <[email-masked]>
Date: Thu, 18 Sep 2014 23:23:40 +0800 (GMT+08:00)

Hi,
I am running ls -lsh on kubuntu 14.04, here is the output:

gemfield@gemfield-ThinkPad-Edge:~$ ls -ls
4 -rw-rw-r-- 1 gemfield gemfield    9  9 18 23:12 test

gemfield@gemfield-ThinkPad-Edge:~$ ls -lsh
4.0K -rw-rw-r-- 1 gemfield gemfield    9  9 18 23:12 test

the "4" colored by green means 4 blocks, so why becomes 4.0K blocks when add -h option to ls -ls?

gemfield@gemfield-ThinkPad-Edge:~$ uname -a
Linux gemfield-ThinkPad-Edge 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 UTC 2014 i686 i686 i686 GNU/Linux
gemfield@gemfield-ThinkPad-Edge:~$ ls --version
ls (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Richard M. Stallman and David MacKenzie.

Thanks.

Gemfield.