Public bug reported:

Binary package hint: findutils

When I use find, to find file smaller dan 1024 bytes like this
$ find -size -1024c

the example result is:
./Briefcase/Test/pasfoto.jpg.meta
./Briefcase/cimg0087.jpg.meta
./Briefcase.meta

However, when switching to the k multiplier I don't get any result until I use 
2, instead of 1:
$ find -size -1k
$ find -size -2k
./Briefcase/Test/pasfoto.jpg.meta
./Briefcase/cimg0087.jpg.meta
./Briefcase.meta

The same is true for M and G; It seems there's a bug in handling 1's in
the -size parameter.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: findutils 4.4.2-1ubuntu1
Uname: Linux 2.6.35 x86_64
Architecture: amd64
Date: Wed Oct 13 10:44:57 2010
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: findutils

** Affects: findutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
find does not handle -size parameter 1 correctly
https://bugs.launchpad.net/bugs/659771
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to