[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46815] problem when testing file size
From: |
Dale Worley |
Subject: |
[bug #46815] problem when testing file size |
Date: |
Fri, 08 Jan 2016 19:57:27 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 |
Follow-up Comment #3, bug #46815 (project findutils):
I have a very strong suspicion that the current code behaves "correctly", that
is, in the way that "find" has always worked. The original -size meaning
"Does the file occupy N (512-byte) disk blocks?". (Of course, usually people
would use "-size -N" or "-size +N".) So the code can't be changed without
causing a lot of scripts to fail.
That being said, the documentation should be made clearer. If you read the
text carefully, you can tell that it means what the code does. But the new
user isn't likely to read it correctly. On my system, the text is:
File uses n units of space. The following suffixes can be used:
The current text is reportedly:
File uses n units of space, rounding up. The following suffixes can be used:
A better version is:
File uses exactly n of the specified units of space, rounding up any
fractional unit. The following suffixes can be used to specify the unit:
Do you think there is any ambiguity in that text?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46815>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #46815] problem when testing file size, anonymous, 2016/01/05
- [bug #46815] problem when testing file size, James Youngman, 2016/01/05
- [bug #46815] problem when testing file size, anonymous, 2016/01/08
- [bug #46815] problem when testing file size,
Dale Worley <=
- [bug #46815] problem when testing file size, James Youngman, 2016/01/09
- Re: [bug #46815] problem when testing file size, Bernhard Voelker, 2016/01/10
- Re: [bug #46815] problem when testing file size, James Youngman, 2016/01/10
- Re: [bug #46815] problem when testing file size, Assaf Gordon, 2016/01/10
- Re: [bug #46815] problem when testing file size, Bernhard Voelker, 2016/01/10
- Re: [bug #46815] problem when testing file size, Martin Steigerwald, 2016/01/13
- Re: [bug #46815] problem when testing file size, Martin Steigerwald, 2016/01/13