summaryrefslogtreecommitdiff
path: root/findutils/grep.c
AgeCommit message (Expand)Author
2003-04-27grep -f support, adds only 60 Bytes, but regex's now compiled asGlenn L McGrath
2003-03-19Major coreutils update.Manuel Novoa III
2002-11-28Change if(x)free(x); to free(x);Aaron Lehmann
2002-02-22* findutils/grep.c (grep_main): Remove unnecessary use of junk.Matt Kraai
2001-11-20Fix undeclared variable error.Matt Kraai
2001-11-20Usr get_last_path_component() name basename()Eric Andersen
2001-11-19oopsEric Andersen
2001-11-19More scrubbingEric Andersen
2001-11-19Fixup CLEANUP behaviorEric Andersen
2001-11-12Convert strdup call to xstrdup, and calloc calls to xcalloc (patch fromMatt Kraai
2001-11-10Add in grep -E supportEric Andersen
2001-10-31Make egrep only set REG_EXTENDED flag.Matt Kraai
2001-10-31Patch from Charles Steinkuehler <charles@steinkuehler.net>Eric Andersen
2001-10-29Use extended regular expressions when invoked as egrep (noted and initialMatt Kraai
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
2001-10-18Scrub up some function prototypes.Eric Andersen
2001-07-31Fix behavior of grep -lc to match GNU grep. SuS2 is ambiguousEric Andersen
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