bug-findutils
[Top][All Lists]
Advanced

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

[bug #12162] Enhancement req: finding files less than 2Gb in size


From: Petr Splichal
Subject: [bug #12162] Enhancement req: finding files less than 2Gb in size
Date: Tue, 14 Oct 2008 13:23:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; cs-CZ; rv:1.9.0.2) Gecko/2008092318 Fedora/3.0.2-1.fc9 Firefox/3.0.2

Follow-up Comment #13, bug #12162 (project findutils):

I see the "logic" of units, but this really isn't very
intuitive behaviour, which is confirmed by the fact
that more and more people run into this issue. Today it
was me:

https://bugzilla.redhat.com/show_bug.cgi?id=466462

I think the best solution now really is to provide an
alternative modifier for size parameter (not to break
backward compatibility) as has been already mentioned
in previous comments.

As we do not have a big choice as far as available
chars are concerned, we should choose better something
than nothing. I vote for using -- and ++ which do not
have to be escaped and (hopefully) will not break the
findutils' test suite.

++ and -- does not seem that bad after all... 

find -size --1M
find -size ++1M

the only other that I can think of are _ and ^

find -size _1M
find -size ^1M

but I don't like them much...

If the testsuite could be modified so that < and > are
acceptable, I would probably vote for them because of
their clear meaning (despite they have to be escaped).


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?12162>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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