[Bug 659771] Re: find does not handle -size parameter 1 correctly

Stefan Wagner hirnstrom at arcor.de
Mon Sep 9 21:34:22 UTC 2013


OK - After a second thought, I come to the conclusion that it might be
better to keep it the way it is. See #5
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/659771/comments/5

** Changed in: findutils (Ubuntu)
       Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/659771

Title:
  find does not handle -size parameter 1 correctly

Status in “findutils” package in Ubuntu:
  Opinion
Status in “findutils” package in Debian:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/659771/+subscriptions




More information about the foundations-bugs mailing list