aboutsummaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-18/+44
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * findutils/grep.c (grep_main): Remove unnecessary use of junk.kraai2002-02-221-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not segfault if PATH is unset.kraai2002-01-141-9/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix undeclared variable error.kraai2001-11-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3759 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Usr get_last_path_component() name basename()andersen2001-11-201-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3737 69ca8d6d-28ef-0310-b511-8ec308f3f277
* oopsandersen2001-11-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3714 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More scrubbingandersen2001-11-191-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3713 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Call xmalloc before reallocandersen2001-11-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup CLEANUP behaviorandersen2001-11-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3709 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert strdup call to xstrdup, and calloc calls to xcalloc (patch fromkraai2001-11-121-3/+3
| | | | | | | Steve Merrifield). git-svn-id: svn://busybox.net/trunk/busybox@3667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in grep -E supportandersen2001-11-101-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* config.in features patch from Giulio Orsero <giulioo@pobox.com>andersen2001-11-101-1/+7
| | | | | | | with some minor edits from me git-svn-id: svn://busybox.net/trunk/busybox@3639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make egrep only set REG_EXTENDED flag.kraai2001-10-311-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3621 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Charles Steinkuehler <charles@steinkuehler.net>andersen2001-10-311-0/+1
| | | | | | | to properly handle extended regexps for egrep git-svn-id: svn://busybox.net/trunk/busybox@3608 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use extended regular expressions when invoked as egrep (noted and initialkraai2001-10-292-0/+8
| | | | | | | patch by Charles Steinkuehler). git-svn-id: svn://busybox.net/trunk/busybox@3601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-246-36/+89
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-181-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix behavior of grep -lc to match GNU grep. SuS2 is ambiguousandersen2001-07-311-1/+4
| | | | | | | | on the correct behavior, so acting like GNU grep seems best -Erik git-svn-id: svn://busybox.net/trunk/busybox@3176 69ca8d6d-28ef-0310-b511-8ec308f3f277
* grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.andersen2001-05-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for grep -e and grep -f, closes bug #1164. Also added somemarkw2001-05-241-95/+142
| | | | | | | testcases for these new features. git-svn-id: svn://busybox.net/trunk/busybox@2722 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed extra -- lines (noted by Christophe Boyanique).kraai2001-05-221-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2699 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed mishandling of -c & -l options and accounted for case when we'remarkw2001-05-211-7/+16
| | | | | | | grepping only one file. git-svn-id: svn://busybox.net/trunk/busybox@2692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.ckraai2001-05-162-2/+2
| | | | | | | by Larry Doolittle. git-svn-id: svn://busybox.net/trunk/busybox@2653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a subtle bug in the handling of -l and -c flags.markw2001-05-141-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2637 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bug fix from Vladimir for a memory leak I stupidlyandersen2001-05-071-2/+2
| | | | | | | added to which.c. git-svn-id: svn://busybox.net/trunk/busybox@2561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Larry suggested using concat_path_file() would be an even safer betandersen2001-05-041-4/+3
| | | | | | | | | | for 'which'. I ageed, so I whipped this up -- which revealed a bug in concat_path_file. It turns out that that a '/' can be appended from either the path _or_ the filename, but only the former was checked. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a buffer overflow. Which accounted for the size of the path, plus the theandersen2001-05-041-1/+1
| | | | | | | | | '/', plus the size of the test command. It did not account for the terminating NULL, which overwrote the end of the string. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2533 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The tiniest of bracket-placement fixes.markw2001-04-171-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make 'grep -l' workandersen2001-04-091-5/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2290 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed option parsing. Grep would continue grepping, even when given a bad /markw2001-04-091-0/+2
| | | | | | | invalid option. Closes bug #1146. git-svn-id: svn://busybox.net/trunk/busybox@2289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from David Douthitt to re-add -print option to find.markw2001-03-281-0/+3
| | | | | | | Closes bug #1144. git-svn-id: svn://busybox.net/trunk/busybox@2218 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xstrdup xargs cleanup from Jeff Garzikandersen2001-03-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2194 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jeff Garzik marking a few 'getopt not needed' apps.andersen2001-03-091-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-203-3/+3
| | | | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-143-3/+3
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.markw2001-02-091-14/+125
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reworked find with David Douthitt to support -type, -perm, -mtime, andkraai2001-02-071-56/+144
| | | | | | | other improvements. git-svn-id: svn://busybox.net/trunk/busybox@1756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tightened things up a bit, saved 20 bytes, and made the code a bit clearer inmarkw2001-02-011-29/+14
| | | | | | | the process. git-svn-id: svn://busybox.net/trunk/busybox@1738 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-012-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-274-4/+4
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-273-0/+6
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea tokraai2001-01-181-2/+2
| | | | | | | Vladimir N. Oleynik. git-svn-id: svn://busybox.net/trunk/busybox@1616 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed email address to codepoet.org, updated list of applets / docs Imarkw2001-01-042-2/+2
| | | | | | | maintain in AUTHORS. git-svn-id: svn://busybox.net/trunk/busybox@1537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed -qv interaction (thanks to a report and patch from David Douthitt).kraai2001-01-041-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1534 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-072-2/+2
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed return status (thanks to David Douthitt for the fix).kraai2000-11-181-2/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1335 69ca8d6d-28ef-0310-b511-8ec308f3f277