summaryrefslogtreecommitdiff
path: root/findutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Reworked find with David Douthitt to support -type, -perm, -mtime, andMatt Kraai2001-02-071-56/+144
| | | | other improvements.
* Tightened things up a bit, saved 20 bytes, and made the code a bit clearer inMark Whitley2001-02-011-29/+14
| | | | the process.
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-012-4/+2
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-274-4/+4
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-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
* Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai2001-01-181-2/+2
| | | | Vladimir N. Oleynik.
* Changed email address to codepoet.org, updated list of applets / docs IMark Whitley2001-01-042-2/+2
| | | | maintain in AUTHORS.
* Fixed -qv interaction (thanks to a report and patch from David Douthitt).Matt Kraai2001-01-041-0/+5
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-4/+2
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-1/+1
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-072-2/+2
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-2/+2
|
* Fixed return status (thanks to David Douthitt for the fix).Matt Kraai2000-11-181-2/+6
|
* Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,Mark Whitley2000-11-141-112/+61
| | | | Mr. Robotti...) Closes bug #1065.
* Fix handling of ^$ by removing the newline from input lines and by notMatt Kraai2000-10-131-2/+4
| | | | compiling with REG_NEWLINE.
* Yet more polish (thanks again to kent robotti for the bug reports).Eric Andersen2000-09-261-10/+12
| | | | -Erik
* Some more polish to make xargs act like GNU xargs (thanks to kent robottiEric Andersen2000-09-251-5/+6
| | | | | <robotti@metconnect.com> for testing and pointing out the differences) -Erik
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-254-4/+4
| | | | -Erik
* Final (I think) version of xargs. Throw away all that tedious stringEric Andersen2000-09-251-94/+62
| | | | | | scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik
* Be ever so pedantic about escaping chars that the shell might not like...Eric Andersen2000-09-251-17/+59
|
* Fix up xargs so that things like 'cat cat.c | xargs echo' willEric Andersen2000-09-241-6/+29
| | | | | work properly. -Erik
* Fix xargs option parsingEric Andersen2000-09-241-13/+18
|
* Fix memory problems, and make behavior correct.Eric Andersen2000-09-231-5/+8
|
* rewrite, so it should be firly clean nowEric Andersen2000-09-231-98/+97
|
* Use minix xargs instead, and update docs accordinglyEric Andersen2000-09-221-913/+106
| | | | -Erik
* Comment on xargs choice.Eric Andersen2000-09-221-1/+2
|
* Add in xargsEric Andersen2000-09-221-0/+922
|
* Path count was out by one, fixed itGlenn L McGrath2000-09-181-1/+1
|
* Simplify and remove dependence on PATH_MAXGlenn L McGrath2000-09-181-31/+12
| | | | | | buf[PATH_MAX] now defined using strlen to the exact size to be used. removed output that was displayed if which didnt find the command, this makes itmatch the behaviour of GNU's which. These modifications result in a slight size decrease.
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-1/+1
| | | | segfaulting or handling errors the same way themselves.
* Some #include updates.Eric Andersen2000-08-101-1/+0
| | | | -Erik
* Exit with the appropriate value when grepping multiple files.Matt Kraai2000-08-061-4/+6
|
* Centralize handling of --help.Matt Kraai2000-07-191-4/+0
|
* Consolodated some common code into print_matched_line to make 'grep_file' aMark Whitley2000-07-181-10/+11
| | | | little more terse & clean. Also made a few minor formatting changes.
* Added support for the -c (count matches) option. Made it so it works just likeMark Whitley2000-07-181-3/+22
| | | | GNU grep.
* Extract usage information into a separate file.Matt Kraai2000-07-163-34/+0
|
* Don't use strings directly in calls to usage(). This is in preparationMatt Kraai2000-07-141-7/+8
| | | | for their extraction to a separate file.
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-1/+1
|
* Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.cMark Whitley2000-07-121-2/+1
| | | | (maybe I'll remove it later).
* Applied patch from Matt Kraai which does the following:Mark Whitley2000-07-111-14/+1
| | | | | | | - adds case-insensitive matching in sed s/// epxressions - consolodates common regcomp code in grep & sed into bb_regcomp and put in utility.c - cleans up a bunch of cruft
* Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai'sMark Whitley2000-07-101-1/+0
| | | | suggestion on the mailing list.
* Applied patch from Matt Kraai as per his email:Mark Whitley2000-07-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | However, the case of grep foo$ file didn't work, due to a problem with the flags used in regular expression compilation. The attached patch fixes this problem. ---patch------- Index: grep.c =================================================================== RCS file: /var/cvs/busybox/grep.c,v retrieving revision 1.30 diff -u -r1.30 grep.c --- grep.c 2000/07/04 22:17:01 1.30 +++ grep.c 2000/07/10 08:57:04 @@ -141,8 +141,10 @@ if (argv[optind] == NULL) usage(grep_usage); - /* compile the regular expression */ - reflags = REG_NOSUB; /* we're not going to mess with sub-expressions */ + /* compile the regular expression + * we're not going to mess with sub-expressions, and we need to + * treat newlines right. */ + reflags = REG_NOSUB | REG_NEWLINE; if (ignore_case) reflags |= REG_ICASE; if ((ret = regcomp(&regex, argv[optind], reflags)) != 0) { ---patch------- Thanks, Matt, it works great.
* include getopt.hEric Andersen2000-07-091-1/+1
| | | | -Erik
* Some cosmetic updates. Changed "OPTIONS" to "Options".Eric Andersen2000-07-041-1/+1
| | | | -Erik
* Fixed comment.Mark Whitley2000-06-281-2/+2
|
* Added support for reading from stdin with '-' as file name arg.Mark Whitley2000-06-281-1/+1
|
* Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley2000-06-281-31/+0
| | | | | | | utility.c and replaced them with get_line_from_file() from the new grep.c. Also changed declaration in internal.h and replaced instances of cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested them and they worked fine.
* Brand, spankin', new grep that uses libc regex routines instead of theMark Whitley2000-06-281-100/+155
| | | | | hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can be axed.
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-193-3/+3
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Fix some spelling errors in the source as well.Eric Andersen2000-06-161-2/+2
| | | | -Erik