[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #36539] -size flag seems to be broken
From: |
Eric Blake |
Subject: |
[bug #36539] -size flag seems to be broken |
Date: |
Fri, 25 May 2012 20:04:38 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0 |
Update of bug #36539 (project findutils):
Status: None => Duplicate
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
This is a duplicate of bug 12162. The issue is that the current syntax is
interpreted as 'treat the suffix of the -size argument as block size, then
round the files up to that block size, then filter based on larger or smaller
than the boundary'. Thus, -size -50k says to find files less than 50 * (1024)
when rounded to 1024 blocks, while -size -1M says to find files less than 1 *
(1024*1024) when rounded to (1024*1024) blocks. 50k rounds up to 1M, so it is
not less than 1 block of size 1M per block.
This is not intuitive, but changing it might break existing syntax.
Suggestions on how to proceed are welcome.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36539>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/