aboutsummaryrefslogtreecommitdiff
path: root/findutils
AgeCommit message (Collapse)Author
2001-04-09Fixed option parsing. Grep would continue grepping, even when given a bad /Mark Whitley
invalid option. Closes bug #1146.
2001-03-28Applied patch from David Douthitt to re-add -print option to find.Mark Whitley
Closes bug #1144.
2001-03-23xstrdup xargs cleanup from Jeff GarzikEric Andersen
2001-03-09Patch from Jeff Garzik marking a few 'getopt not needed' apps.Eric Andersen
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-09Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.Mark Whitley
2001-02-07Reworked find with David Douthitt to support -type, -perm, -mtime, andMatt Kraai
other improvements.
2001-02-01Tightened things up a bit, saved 20 bytes, and made the code a bit clearer inMark Whitley
the process.
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-18Eliminate calls of the form "fprintf(stdout,". Thanks for the idea toMatt Kraai
Vladimir N. Oleynik.
2001-01-04Changed email address to codepoet.org, updated list of applets / docs IMark Whitley
maintain in AUTHORS.
2001-01-04Fixed -qv interaction (thanks to a report and patch from David Douthitt).Matt Kraai
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-11-18Fixed return status (thanks to David Douthitt for the fix).Matt Kraai
2000-11-14Brand new version of xargs. Tested thoroughly by Kent Robotti. (Domo arigato,Mark Whitley
Mr. Robotti...) Closes bug #1065.
2000-10-13Fix handling of ^$ by removing the newline from input lines and by notMatt Kraai
compiling with REG_NEWLINE.
2000-09-26Yet more polish (thanks again to kent robotti for the bug reports).Eric Andersen
-Erik
2000-09-25Some more polish to make xargs act like GNU xargs (thanks to kent robottiEric Andersen
<robotti@metconnect.com> for testing and pointing out the differences) -Erik
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-25Final (I think) version of xargs. Throw away all that tedious stringEric Andersen
scrubbing, and quit using system. Instead, use fork() and exec(), which yields and smaller, simpler, and cleaner design. -Erik
2000-09-25Be ever so pedantic about escaping chars that the shell might not like...Eric Andersen
2000-09-24Fix up xargs so that things like 'cat cat.c | xargs echo' willEric Andersen
work properly. -Erik
2000-09-24Fix xargs option parsingEric Andersen
2000-09-23Fix memory problems, and make behavior correct.Eric Andersen
2000-09-23rewrite, so it should be firly clean nowEric Andersen
2000-09-22Use minix xargs instead, and update docs accordinglyEric Andersen
-Erik
2000-09-22Comment on xargs choice.Eric Andersen
2000-09-22Add in xargsEric Andersen
2000-09-18Path count was out by one, fixed itGlenn L McGrath
2000-09-18Simplify and remove dependence on PATH_MAXGlenn L McGrath
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.
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-08-06Exit with the appropriate value when grepping multiple files.Matt Kraai
2000-07-19Centralize handling of --help.Matt Kraai
2000-07-18Consolodated some common code into print_matched_line to make 'grep_file' aMark Whitley
little more terse & clean. Also made a few minor formatting changes.
2000-07-18Added support for the -c (count matches) option. Made it so it works just likeMark Whitley
GNU grep.
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14Don't use strings directly in calls to usage(). This is in preparationMatt Kraai
for their extraction to a separate file.
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-12Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.cMark Whitley
(maybe I'll remove it later).
2000-07-11Applied patch from Matt Kraai which does the following:Mark Whitley
- 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
2000-07-10Removed unnecessary #include "regexp.h" line from find.c as per Matt Kraai'sMark Whitley
suggestion on the mailing list.
2000-07-10Applied patch from Matt Kraai as per his email:Mark Whitley
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.
2000-07-09include getopt.hEric Andersen
-Erik