aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-16 00:30:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-16 00:30:52 +0000
commit53a0e971960a520bd859b8aac6dbebec2045115f (patch)
tree7fbf136ec7cba71b8e463825b32c5ef3a9eb6ce2 /include/usage.h
parentb941129ccb7901b0715c6affa9d0347f6fa5e64d (diff)
downloadbusybox-53a0e971960a520bd859b8aac6dbebec2045115f.tar.gz
find: make -size match GNU find
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h31
1 files changed, 17 insertions, 14 deletions
diff --git a/include/usage.h b/include/usage.h
index 8c438e285..1c4442e33 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -948,15 +948,15 @@
USE_FEATURE_FIND_MAXDEPTH( \
"\n -maxdepth N Descend at most N levels. -maxdepth 0 applies" \
"\n tests/actions to command line arguments only") \
- "\n -name PATTERN File name (leading directories removed) matches PATTERN" \
- "\n -print Print (default and assumed)" \
- USE_FEATURE_FIND_PRINT0( \
- "\n -print0 Delimit output with null characters rather than" \
- "\n newlines") \
+ "\n -name PATTERN File name (w/o directory name) matches PATTERN" \
+ USE_FEATURE_FIND_PATH( \
+ "\n -path PATTERN Path matches PATTERN") \
+ USE_FEATURE_FIND_REGEX( \
+ "\n -regex PATTERN Path matches regex PATTERN") \
USE_FEATURE_FIND_TYPE( \
- "\n -type X Filetype matches X (where X is one of: f,d,l,b,c,...)") \
+ "\n -type X File type is X (X is one of: f,d,l,b,c,...)") \
USE_FEATURE_FIND_PERM( \
- "\n -perm PERMS Permissions match any of (+NNN), all of (-NNN)," \
+ "\n -perm NNN Permissions match any of (+NNN), all of (-NNN)," \
"\n or exactly (NNN)") \
USE_FEATURE_FIND_MTIME( \
"\n -mtime DAYS Modified time is greater than (+N), less than (-N)," \
@@ -968,23 +968,26 @@
"\n -newer FILE Modified time is more recent than FILE's") \
USE_FEATURE_FIND_INUM( \
"\n -inum N File has inode number N") \
- USE_FEATURE_FIND_EXEC( \
- "\n -exec CMD Execute CMD with all instances of {} replaced by the" \
- "\n files matching EXPRESSION") \
USE_FEATURE_FIND_USER( \
"\n -user NAME File is owned by user NAME (numeric user ID allowed)") \
USE_FEATURE_FIND_GROUP( \
"\n -group NAME File belongs to group NAME (numeric group ID allowed)") \
USE_FEATURE_FIND_DEPTH( \
- "\n -depth Process directory after traversing it") \
+ "\n -depth Process directory name after traversing it") \
USE_FEATURE_FIND_SIZE( \
- "\n -size N File size is N") \
+ "\n -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))." \
+ "\n +/-N: file size is bigger/smaller than N") \
+ "\n -print Print (default and assumed)" \
+ USE_FEATURE_FIND_PRINT0( \
+ "\n -print0 Delimit output with null characters rather than" \
+ "\n newlines") \
+ USE_FEATURE_FIND_EXEC( \
+ "\n -exec CMD ARG ; Execute CMD with all instances of {} replaced by the" \
+ "\n matching files") \
USE_FEATURE_FIND_PRUNE( \
"\n -prune Stop traversing current subtree") \
USE_FEATURE_FIND_DELETE( \
"\n -delete Delete files, turns on -depth option") \
- USE_FEATURE_FIND_PATH( \
- "\n -path Path matches PATTERN") \
USE_FEATURE_FIND_PAREN( \
"\n (EXPR) Group an expression") \