summaryrefslogtreecommitdiff
path: root/findutils/grep.c
AgeCommit message (Expand)Author
2001-05-29grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.Eric Andersen
2001-05-24Added support for grep -e and grep -f, closes bug #1164. Also added someMark Whitley
2001-05-22Fixed extra -- lines (noted by Christophe Boyanique).Matt Kraai
2001-05-21Fixed mishandling of -c & -l options and accounted for case when we'reMark Whitley
2001-05-16Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai
2001-05-14Fixed a subtle bug in the handling of -l and -c flags.Mark Whitley
2001-04-17The tiniest of bracket-placement fixes.Mark Whitley
2001-04-09Make 'grep -l' workEric Andersen
2001-04-09Fixed option parsing. Grep would continue grepping, even when given a bad /Mark Whitley
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
2001-02-09Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.Mark Whitley
2001-02-01Tightened things up a bit, saved 20 bytes, and made the code a bit clearer inMark Whitley
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 for0_49Eric Andersen
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
2001-01-04Changed email address to codepoet.org, updated list of applets / docs IMark Whitley
2001-01-04Fixed -qv interaction (thanks to a report and patch from David Douthitt).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
2000-10-13Fix handling of ^$ by removing the newline from input lines and by notMatt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
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
2000-07-18Added support for the -c (count matches) option. Made it so it works just likeMark Whitley
2000-07-16Extract usage information into a separate file.Matt Kraai
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
2000-07-11Applied patch from Matt Kraai which does the following:Mark Whitley
2000-07-10Applied patch from Matt Kraai as per his email:Mark Whitley
2000-07-09include getopt.hEric Andersen
2000-07-04Some cosmetic updates. Changed "OPTIONS" to "Options".Eric Andersen
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
2000-06-28Brand, spankin', new grep that uses libc regex routines instead of theMark Whitley
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
2000-06-16Fix some spelling errors in the source as well.Eric Andersen
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
2000-06-12+ utility.cJohn Beppu
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
2000-04-24+ grep -v # yay!John Beppu
2000-04-13Upates to include copyright 2000 to everythingErik Andersen
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
2000-01-19Bug fix. grep wasn't printing file names they way it was supposed to.Erik Andersen
1999-12-29Fixed cp so it works as God intended it to.Erik Andersen
1999-12-21Added grep -q, thanks to a patch from "Konstantin Boldyshev" <konst@voshod.com>Erik Andersen
1999-11-10Updates to usage, and made tar work.Eric Andersen
1999-11-09StuffEric Andersen