Eric Andersen
|
bdfd0d78bc
Major rework of the directory structure and the entire build system.
|
il y a 23 ans |
Eric Andersen
|
74400ccfd0
Scrub up some function prototypes.
|
il y a 23 ans |
Eric Andersen
|
0034443140
Fix behavior of grep -lc to match GNU grep. SuS2 is ambiguous
|
il y a 23 ans |
Eric Andersen
|
86f0167e39
grep failed to compile when BB_FEATURE_CLEAN_UP was defined -- types were wrong.
|
il y a 23 ans |
Mark Whitley
|
fa43e54b6f
Added support for grep -e and grep -f, closes bug #1164. Also added some
|
il y a 23 ans |
Matt Kraai
|
edc806507c
Fixed extra -- lines (noted by Christophe Boyanique).
|
il y a 23 ans |
Mark Whitley
|
1d9d41150b
Fixed mishandling of -c & -l options and accounted for case when we're
|
il y a 23 ans |
Matt Kraai
|
59df6f7398
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
|
il y a 23 ans |
Mark Whitley
|
35e59bed97
Fixed a subtle bug in the handling of -l and -c flags.
|
il y a 23 ans |
Mark Whitley
|
59a86cad67
The tiniest of bracket-placement fixes.
|
il y a 23 ans |
Eric Andersen
|
303dd28bb0
Make 'grep -l' work
|
il y a 23 ans |
Mark Whitley
|
4391a16c92
Fixed option parsing. Grep would continue grepping, even when given a bad /
|
il y a 23 ans |
Eric Andersen
|
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
|
il y a 24 ans |
Mark Whitley
|
2fd52989f7
Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.
|
il y a 24 ans |
Mark Whitley
|
b5c29850e3
Tightened things up a bit, saved 20 bytes, and made the code a bit clearer in
|
il y a 24 ans |
Matt Kraai
|
05e782ddd3
Fix wget error message and add (and use) chomp library function.
|
il y a 24 ans |
Eric Andersen
|
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
|
il y a 24 ans |
Eric Andersen
|
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
|
il y a 24 ans |
Mark Whitley
|
6c6ea6cba2
Changed email address to codepoet.org, updated list of applets / docs I
|
il y a 24 ans |
Matt Kraai
|
0810f723b1
Fixed -qv interaction (thanks to a report and patch from David Douthitt).
|
il y a 24 ans |
Matt Kraai
|
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
|
il y a 24 ans |
Mark Whitley
|
f57c944e09
Changed names of functions in utility.c and all affected files, to make
|
il y a 24 ans |
Matt Kraai
|
567cdd1d51
Fix handling of ^$ by removing the newline from input lines and by not
|
il y a 24 ans |
Eric Andersen
|
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
|
il y a 24 ans |
Matt Kraai
|
deb95f69b6
Exit with the appropriate value when grepping multiple files.
|
il y a 24 ans |
Matt Kraai
|
27a804246a
Centralize handling of --help.
|
il y a 24 ans |
Mark Whitley
|
2ef880b236
Consolodated some common code into print_matched_line to make 'grep_file' a
|
il y a 24 ans |
Mark Whitley
|
8f122431f5
Added support for the -c (count matches) option. Made it so it works just like
|
il y a 24 ans |
Matt Kraai
|
bf181b9338
Extract usage information into a separate file.
|
il y a 24 ans |
Matt Kraai
|
d537a95fdb
Use errorMsg rather than fprintf.
|
il y a 24 ans |