Mark Whitley
|
1d9d41150b
Fixed mishandling of -c & -l options and accounted for case when we're
|
23 years ago |
Matt Kraai
|
59df6f7398
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
|
23 years ago |
Mark Whitley
|
35e59bed97
Fixed a subtle bug in the handling of -l and -c flags.
|
23 years ago |
Mark Whitley
|
59a86cad67
The tiniest of bracket-placement fixes.
|
24 years ago |
Eric Andersen
|
303dd28bb0
Make 'grep -l' work
|
24 years ago |
Mark Whitley
|
4391a16c92
Fixed option parsing. Grep would continue grepping, even when given a bad /
|
24 years ago |
Eric Andersen
|
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
|
24 years ago |
Mark Whitley
|
2fd52989f7
Implemented -A, -B, and -C flags with BB_FEATURE_GREP_CONTEXT option set.
|
24 years ago |
Mark Whitley
|
b5c29850e3
Tightened things up a bit, saved 20 bytes, and made the code a bit clearer in
|
24 years ago |
Matt Kraai
|
05e782ddd3
Fix wget error message and add (and use) chomp library function.
|
24 years ago |
Eric Andersen
|
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
|
24 years ago |
Eric Andersen
|
ed3ef50c23
Fix header file usage -- there were many unnecessary header files included in
|
24 years ago |
Mark Whitley
|
6c6ea6cba2
Changed email address to codepoet.org, updated list of applets / docs I
|
24 years ago |
Matt Kraai
|
0810f723b1
Fixed -qv interaction (thanks to a report and patch from David Douthitt).
|
24 years ago |
Matt Kraai
|
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
|
24 years ago |
Mark Whitley
|
f57c944e09
Changed names of functions in utility.c and all affected files, to make
|
24 years ago |
Matt Kraai
|
567cdd1d51
Fix handling of ^$ by removing the newline from input lines and by not
|
24 years ago |
Eric Andersen
|
3570a34de4
Renamed "internal.h" to the more sensible "busybox.h".
|
24 years ago |
Matt Kraai
|
deb95f69b6
Exit with the appropriate value when grepping multiple files.
|
24 years ago |
Matt Kraai
|
27a804246a
Centralize handling of --help.
|
24 years ago |
Mark Whitley
|
2ef880b236
Consolodated some common code into print_matched_line to make 'grep_file' a
|
24 years ago |
Mark Whitley
|
8f122431f5
Added support for the -c (count matches) option. Made it so it works just like
|
24 years ago |
Matt Kraai
|
bf181b9338
Extract usage information into a separate file.
|
24 years ago |
Matt Kraai
|
d537a95fdb
Use errorMsg rather than fprintf.
|
24 years ago |
Mark Whitley
|
c41e8c840f
Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
|
24 years ago |
Mark Whitley
|
df5f6ba115
Applied patch from Matt Kraai which does the following:
|
24 years ago |
Mark Whitley
|
44735f8744
Applied patch from Matt Kraai as per his email:
|
24 years ago |
Eric Andersen
|
e9b527ae48
include getopt.h
|
24 years ago |
Eric Andersen
|
2086e3d679
Some cosmetic updates. Changed "OPTIONS" to "Options".
|
24 years ago |
Mark Whitley
|
2e1148b239
Fixed comment.
|
24 years ago |