aboutsummaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' into mergeRon Yorston2014-03-113-72/+148
|\
| * xargs: fix compilation breakageDenys Vlasenko2014-02-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix -w match if first match isn't a word, but second is. Closes 4520Denys Vlasenko2014-02-271-14/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * xargs: add support for -I and -i. Closes 493Denys Vlasenko2014-02-272-56/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta process_stdin_with_replace - 195 +195 xmalloc_substitute_string - 145 +145 xargs_main 808 884 +76 count_strstr - 45 +45 packed_usage 29580 29571 -9 parse_params 1445 1416 -29 func_exec 285 138 -147 ------------------------------------------------------------------------------ (add/remove: 4/0 grow/shrink: 1/3 up/down: 461/-185) Total: 276 bytes text data bss dec hex filename 922156 932 17692 940780 e5aec busybox_old 922440 932 17692 941064 e5c08 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: code shrinkDenys Vlasenko2014-02-261-5/+3
| | | | | | | | | | | | | | function old new delta func_exec 306 285 -21 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: properly handle grep -w "^str" in !EXTRA_COMPAT case tooBartosz Golaszewski2014-02-071-2/+6
| | | | | | | | | | | | | | | | function old new delta grep_file 1267 1288 +21 Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2014-01-132-4/+45
|\| | | | | | | | | | | Conflicts: include/platform.h scripts/basic/fixdep.c
| * find: fix a regression introduced with -HLP supportDenys Vlasenko2014-01-091-1/+20
| | | | | | | | | | | | | | function old new delta find_main 294 342 +48 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix two bugs with -wDenys Vlasenko2014-01-071-3/+25
| | | | | | | | | | | | | | | | | | Unfortunately, with !EXTRA_COMPAT, "grep -w ^str" still erroneously matches "strstr". function old new delta grep_file 1499 1510 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-08-272-20/+74
|\|
| * Whitespace fixesDenys Vlasenko2013-07-301-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find:: get rid of nested function (it's a gcc-ism)Denys Vlasenko2013-05-161-6/+45
| | | | | | | | | | | | | | | | | | | | | | function old new delta alloc_action - 80 +80 parse_params 1459 1445 -14 static.alloc_action 98 - -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 80/-112) Total: -32 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: fix grep -x to not set REG_NOSUBJames Hogan2013-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When -F isn't specified (and !ENABLE_EXTRA_COMPAT), grep -x uses regexec's regmatch_t output to determine if the match was the entire line. However it also set the REG_NOSUB flag which makes it ignore the regmatch_t argument. Add an exception to the setting of REG_NOSUB for OPT_x and add some test cases to test the behaviour of -x. Signed-off-by: James Hogan <james.hogan@imgtec.com> Cc: Natanael Copa <ncopa@alpinelinux.org> Cc: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * grep: don't bail out on first mismatch if '-w' option is setBartosz Golaszewski2013-05-151-8/+14
| | | | | | | | | | Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: support -HLPDenys Vlasenko2013-05-141-3/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-02-072-8/+35
|\|
| * grep: fix grep -Fw not respecting the -w option. Closes 5792Denys Vlasenko2013-01-201-5/+32
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanup. no code changesDenys Vlasenko2013-01-141-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixes. no code changesDenys Vlasenko2013-01-141-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-09-071-15/+30
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * find: make -mindepth N -xdev correctly stop on mountpointsDenys Vlasenko2012-09-061-14/+21
| | | | | | | | | | | | | | function old new delta fileAction 153 193 +40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fix in commentDenys Vlasenko2012-05-181-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: if DESKTOP=y, support -wholename (synonym for -path)Denys Vlasenko2012-05-171-1/+9
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-03-231-3/+9
|\| | | | | | | | | Conflicts: Makefile.flags
| * grep: support for -x, match whole lineNatanael Copa2012-02-281-3/+9
| | | | | | | | | | | | | | | | Specified in POSIX. http://pubs.opengroup.org/onlinepubs/009604499/utilities/grep.html Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'c0cae52662ccced9df19f19ec94238d1b1e3bd71' into mergeRon Yorston2012-03-232-10/+17
|\| | | | | | | | | | | Conflicts: Makefile.flags scripts/basic/fixdep.c
| * grep: be GNU compatible with -f EMPTY_FILELauri Kasanen2011-08-281-9/+13
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Fix find -follow supportIan Wienand2011-08-281-1/+4
| | | | | | | | | | Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into mergeRon Yorston2012-03-221-1/+36
|\| | | | | | | | | Conflicts: include/platform.h
| * find: fix a bug in !ENABLE_FEATURE_FIND_XDEV configDenys Vlasenko2011-08-111-1/+36
| | | | | | | | | | | | A subtle one: wrong pairing of "else"! Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '066f39956641300c1e5c6bfe6c11a115cea3e2cf' into mergeRon Yorston2012-03-223-3/+0
|\| | | | | | | | | Conflicts: procps/ps.c
| * *: remove "Options:" string from help textsDenys Vlasenko2011-06-053-3/+0
| | | | | | | | | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '56a3b82e9692a25ef9c9269e88feac0d579ce8e8' into mergeRon Yorston2012-03-221-3/+39
|\| | | | | | | | | | | | | Conflicts: coreutils/ls.c include/platform.h libbb/bb_basename.c
| * find: cater for libc w/o FNM_CASEFOLDDenys Vlasenko2011-05-231-1/+33
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: implement -ipathBogdan Harjoc2011-05-221-3/+7
| | | | | | | | | | Signed-off-by: Bogdan Harjoc <harjoc@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '19311bfa7b8e8c6effa9c375de9b0eb4338bee12' into mergeRon Yorston2012-03-221-6/+13
|\| | | | | | | | | | | Conflicts: coreutils/ls.c shell/ash.c
| * xargs: support --no-run-if-empty (synonym to -r)Denys Vlasenko2011-03-031-6/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'da4441c44f6efccb6f7b7588404d9c6bfb7b6af8' into mergeRon Yorston2012-03-221-222/+197
|\| | | | | | | | | | | | | Conflicts: libbb/vfork_daemon_rexec.c networking/wget.c procps/ps.c
| * find: trim help text a bitDenys Vlasenko2011-02-121-8/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: remove the hack we use to parse options first, replace with simpler codeDenys Vlasenko2011-02-121-121/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text data bss dec hex filename 867764 438 7552 875754 d5cea busybox_old 867629 438 7552 875619 d5c63 busybox_unstripped function old new delta parse_params 1377 1440 +63 static.params 151 192 +41 static.options 42 57 +15 fileAction 151 153 +2 find_main 466 267 -199 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 121/-199) Total: -78 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: print/print0/prune _can_ be inverted, fix itDenys Vlasenko2011-02-121-106/+101
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: document ! (not) operatorDenys Vlasenko2011-02-121-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: help text: PATH must be firstDenys Vlasenko2011-02-121-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: yet another tweak to help textDenys Vlasenko2011-02-121-6/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: fix help text about -prune: it also does assume -printDenys Vlasenko2011-02-121-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * find: significantly improve hext text. +116 bytesDenys Vlasenko2011-02-121-49/+56
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-213-5/+5
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
| * mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-183-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-042-9/+9
|\|
| * remove findutils/.gitignore, top-level one covers itDenys Vlasenko2010-10-111-3/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>