mirror of
https://https.git.savannah.gnu.org/git/findutils.git
synced 2026-01-26 15:39:06 +00:00
doc: clarify 'find -size' values prefixed with '+' and '-'
* doc/find.texi (node Size): Add a sentence to make even clearer that values prefixed with '+' or '-' do not find files with an exact match of N in file size. * find/find.1 (-size): Likewise.
This commit is contained in:
parent
d2f3e014a0
commit
e4d77529d7
@ -1034,7 +1034,8 @@ The number can be prefixed with a `+' or a `-'. A plus sign indicates
|
||||
that the test should succeed if the file uses at least @var{n} units
|
||||
of storage (a common use of this test) and a minus sign
|
||||
indicates that the test should succeed if the file uses less than
|
||||
@var{n} units of storage. Bear in mind that the size is rounded up to
|
||||
@var{n} units of storage; i.e., an exact size of @var{n} units does not match.
|
||||
Bear in mind that the size is rounded up to
|
||||
the next unit. Therefore @samp{-size -1M} is not equivalent to
|
||||
@samp{-size -1048576c}. The former only matches empty files, the latter
|
||||
matches files from 0 to 1,048,575 bytes. There is no `=' prefix, because
|
||||
|
||||
@ -916,7 +916,8 @@ differently. The `b' suffix always denotes 512-byte blocks and never
|
||||
1024-byte blocks, which is different to the behaviour of
|
||||
.BR \-ls .
|
||||
.IP
|
||||
The + and - prefixes signify greater than and less than, as usual.
|
||||
The + and - prefixes signify greater than and less than, as usual;
|
||||
i.e., an exact size of \fIn\fR units does not match.
|
||||
Bear in mind that the size is rounded up to the next unit. Therefore
|
||||
.BR "\-size \-1M"
|
||||
is not equivalent to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user