aboutsummaryrefslogtreecommitdiff
path: root/findutils
AgeCommit message (Collapse)Author
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
2000-07-04Some cosmetic updates. Changed "OPTIONS" to "Options".Eric Andersen
-Erik
2000-06-28Fixed comment.Mark Whitley
2000-06-28Added support for reading from stdin with '-' as file name arg.Mark Whitley
2000-06-28Yanked out the cstring_alloc() and cstring_lineFromFile() functions fromMark Whitley
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.
2000-06-28Brand, spankin', new grep that uses libc regex routines instead of theMark Whitley
hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can be axed.
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-06-16Fix some spelling errors in the source as well.Eric Andersen
-Erik
2000-06-14+ removed some cruft left over from when lines could be too long.John Beppu
2000-06-13Fix a bug pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>Eric Andersen
where you used to see: ./grep -q -i B some_file B: No such file or directory This is now fixed. -Erik
2000-06-12+ utility.cJohn Beppu
CSTRING_BUFFER_LENGTH = 1024 /* so it recurses less often */ + grep.c uses cstring_lineFromFile(), and doesn't ever say Line is too long, anymore
2000-06-05"which" rewritten to use stat(). Fixes to improve its compatabilityPavel Roskin
with traditional implementations
2000-05-19More libc portability updates, add in the website (which has not beenErik Andersen
archived previously). Wrote 'which' during the meeting today. -Erik
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-24+ grep -v # yay!John Beppu
2000-04-13More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen
while trying to write docs . :-) -Erik
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-03-28Yet another installment in the ongoing tar sagaErik Andersen
-Erik
2000-02-10More minor touchups.Erik Andersen
-Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-02-07A few minor updates. ;-)Erik Andersen
Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik
2000-01-29Clear up some ambiguity with old style assignments.Erik Andersen
-Erik
2000-01-19Bug fix. grep wasn't printing file names they way it was supposed to.Erik Andersen
-Erik
1999-12-29Fixed cp so it works as God intended it to.Erik Andersen
-Erik
1999-12-21Added grep -q, thanks to a patch from "Konstantin Boldyshev" <konst@voshod.com>Erik Andersen
-Erik
1999-12-03StufEric Andersen
1999-11-10Updates to usage, and made tar work.Eric Andersen
-Erik
1999-11-09StuffEric Andersen
1999-11-08StuffEric Andersen
-Erik
1999-10-28StufEric Andersen
1999-10-22Added regexp support, fixed Changelog.Eric Andersen