aboutsummaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply post-1.19.0 patches, bump version to 1.19.11_19_1Denys Vlasenko2011-08-282-10/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* *: 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>
* 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>
* xargs: support --no-run-if-empty (synonym to -r)Denys Vlasenko2011-03-031-6/+13
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* 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>
* remove findutils/.gitignore, top-level one covers itDenys Vlasenko2010-10-111-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* grep: cap insane -B NUM values to MAX_INT / 8. Fixes bug 2653.Denys Vlasenko2010-10-021-6/+9
| | | | | | | function old new delta grep_main 766 779 +13 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: add rudimentary support for -exec {} +Denys Vlasenko2010-08-311-10/+14
| | | | | | | function old new delta parse_params 1421 1414 -7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* grep: fix -o match with empty string (suggested by Colin Watson ↵Denys Vlasenko2010-08-231-3/+7
| | | | | | | | | <cjwatson@ubuntu.com>) function old new delta grep_file 1216 1251 +35 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-164-4/+4
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_iDenys Vlasenko2010-08-121-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: bump default -sNUM up to 32k. Use sysconf() to trim it down if necessaryDenys Vlasenko2010-06-191-25/+27
| | | | | | | function old new delta xargs_main 819 830 +11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* findutils/*: move usage and applet bits to *.c filesDenys Vlasenko2010-06-153-8/+172
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: another code shrinkDenys Vlasenko2010-06-151-30/+20
| | | | | | | | function old new delta process0_stdin 117 103 -14 process_stdin 336 314 -22 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: trivial code shrinkDenys Vlasenko2010-06-151-7/+7
| | | | | | | function old new delta xargs_main 807 787 -20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: trivial code shrinkDenys Vlasenko2010-06-141-12/+10
| | | | | | | | | function old new delta process_stdin 343 336 -7 process0_stdin 124 117 -7 xargs_main 807 787 -20 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: simplify logicDenys Vlasenko2010-06-141-199/+184
| | | | | | | | | | | | | | Removed double-buffering in a linked list. function old new delta store_param - 56 +56 xargs_main 871 840 -31 process_stdin 458 396 -62 process0_stdin 267 143 -124 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 56/-217) Total: -161 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: fix accounting of -sNUMDenys Vlasenko2010-06-131-53/+46
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: make -s NUM accept practically unlimited rangeDenys Vlasenko2010-06-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: code shrink -15 bytesDenys Vlasenko2010-06-131-80/+74
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pipe_progress: make it independent of printf machineryDenys Vlasenko2010-06-061-2/+2
| | | | | | | | | | | | | function old new delta bb_putchar_stderr - 24 +24 ParseField 494 471 -23 progress_meter 212 188 -24 xargs_main 888 842 -46 pipe_progress_main 151 105 -46 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 0/4 up/down: 24/-139) Total: -115 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove defconfig. Now "make defconfig" simply uses defaults from Config.inDenys Vlasenko2010-06-063-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* findutils: Add Config.in and Kbuild to .gitignorePeter Tyser2010-05-161-0/+3
| | | | | | | These are auto-generated files and should be ignored by git. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make it possible to keep Config/Kbuild snippets in *.c filesDenys Vlasenko2010-05-096-256/+263
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix -FiIan Wienand2010-04-301-1/+4
| | | | | | | | function old new delta grep_file 1151 1169 +18 Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: fix -name matching for dotfiles. -1 byteDenys Vlasenko2010-04-261-2/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: makw -w support unconditionalDenys Vlasenko2010-04-261-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* xargs: do not decrease orig_arg_max to negative valuesDenys Vlasenko2010-04-091-20/+25
| | | | | | Based on patch by Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: merge some common stringsDenys Vlasenko2010-03-231-1/+1
| | | | | | | | text data bss dec hexfilename 838650 8009 0 846659 ceb43busybox_old 838519 8009 0 846528 ceac0busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: code shrink and better "died from signal" reporting from wait4pidDenys Vlasenko2010-03-181-9/+2
| | | | | | | | | | | | | | function old new delta parse 964 967 +3 udhcp_run_script 670 665 -5 singlemount 911 906 -5 mount_it_now 360 355 -5 inotifyd_main 521 516 -5 xspawn 21 - -21 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/4 up/down: 3/-41) Total: -38 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: tweak error messageBernhard Reutner-Fischer2010-02-251-2/+6
| | | | | | | | | | | | | big find: find: missing argument to `-exec' we now say find: -exec requires an argument instead of the cryptic message we emitted previously. Additional benefit is that it's now 23 bytes smaller. Add TODO to add '-exec {} +' support Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Denys Vlasenko2010-02-042-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: correct handling of -xdevDenys Vlasenko2010-01-101-17/+25
| | | | | | | | function old new delta find_main 467 448 -19 fileAction 1336 1311 -25 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: add optional support for -links. +100 bytesMatheus Izvekov2010-01-062-3/+30
| | | | | Signed-off-by: Matheus Izvekov <mizvekov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove some uses of argcDenys Vlasenko2010-01-042-8/+6
| | | | | | | | | | | | | | | | | | | | | | | function old new delta whoami_main 34 37 +3 logname_main 60 63 +3 hostid_main 35 38 +3 ttysize_main 136 135 -1 nmeter_main 673 672 -1 logger_main 387 386 -1 uuencode_main 330 328 -2 ifupdown_main 2125 2123 -2 mesg_main 158 155 -3 free_main 333 330 -3 cal_main 902 899 -3 acpid_main 443 440 -3 ar_main 196 189 -7 find_main 476 467 -9 ifconfig_main 1235 1221 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/12 up/down: 9/-49) Total: -40 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* grep: fix a case when -o loops foreverDenys Vlasenko2009-12-041-3/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: use "can't" instead of "cannot"Denys Vlasenko2009-11-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use ffulsh_all()Denys Vlasenko2009-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 179 196 +17 fflush_all - 9 +9 spawn 87 92 +5 rtcwake_main 455 453 -2 ... alarm_intr 93 84 -9 readcmd 1072 1062 -10 bb_ask 345 333 -12 more_main 845 832 -13 flush_stdout_stderr 42 23 -19 xfflush_stdout 27 - -27 flush_stderr 30 - -30 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: add zeroing of G.xxx; ftpd - remove extraneous zeroing of G.xxxDenys Vlasenko2009-09-301-0/+2
| | | | | | Brought "G trick" to the same shape in a few more places. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* find: -follow should not error out on dandling linksDenys Vlasenko2009-09-291-34/+45
| | | | | | | | | | | | | | | | | | | | | | | function old new delta recursive_action 425 465 +40 find_main 436 465 +29 test_main 247 253 +6 need_print 1 - -1 doCommands 2523 2521 -2 compare_keys 737 735 -2 xdev_dev 4 - -4 xdev_count 4 - -4 recurse_flags 4 - -4 mkfs_vfat_main 1609 1605 -4 actions 4 - -4 fileAction 588 583 -5 ------------------------------------------------------------------------------ (add/remove: 0/5 grow/shrink: 3/4 up/down: 75/-30) Total: 45 bytes text data bss dec hex filename 822711 450 7684 830845 cad7d busybox_old 822773 445 7668 830886 cada6 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>