Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix up copyright msgs. Bump version to 0.49 in preparation for0_49 | Eric Andersen | 2001-01-27 | 1 | -1/+1 |
| | | | | | a release. Update the website with release details. -Erik | ||||
* | Fix header file usage -- there were many unnecessary header files included in | Eric Andersen | 2001-01-27 | 1 | -0/+2 |
| | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik | ||||
* | Changed email address to codepoet.org, updated list of applets / docs I | Mark Whitley | 2001-01-04 | 1 | -1/+1 |
| | | | | maintain in AUTHORS. | ||||
* | Fixed -qv interaction (thanks to a report and patch from David Douthitt). | Matt Kraai | 2001-01-04 | 1 | -0/+5 |
| | |||||
* | Change calls to error_msg.* and strerror to use perror_msg.*. | Matt Kraai | 2000-12-18 | 1 | -1/+1 |
| | |||||
* | Changed names of functions in utility.c and all affected files, to make | Mark Whitley | 2000-12-07 | 1 | -1/+1 |
| | | | | compliant with the style guide. Everybody rebuild your tags file! | ||||
* | Fix handling of ^$ by removing the newline from input lines and by not | Matt Kraai | 2000-10-13 | 1 | -2/+4 |
| | | | | compiling with REG_NEWLINE. | ||||
* | Renamed "internal.h" to the more sensible "busybox.h". | Eric Andersen | 2000-09-25 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Exit with the appropriate value when grepping multiple files. | Matt Kraai | 2000-08-06 | 1 | -4/+6 |
| | |||||
* | Centralize handling of --help. | Matt Kraai | 2000-07-19 | 1 | -4/+0 |
| | |||||
* | Consolodated some common code into print_matched_line to make 'grep_file' a | Mark Whitley | 2000-07-18 | 1 | -10/+11 |
| | | | | little more terse & clean. Also made a few minor formatting changes. | ||||
* | Added support for the -c (count matches) option. Made it so it works just like | Mark Whitley | 2000-07-18 | 1 | -3/+22 |
| | | | | GNU grep. | ||||
* | Extract usage information into a separate file. | Matt Kraai | 2000-07-16 | 1 | -15/+0 |
| | |||||
* | Use errorMsg rather than fprintf. | Matt Kraai | 2000-07-14 | 1 | -1/+1 |
| | |||||
* | Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c | Mark Whitley | 2000-07-12 | 1 | -2/+1 |
| | | | | (maybe I'll remove it later). | ||||
* | Applied patch from Matt Kraai which does the following: | Mark Whitley | 2000-07-11 | 1 | -14/+1 |
| | | | | | | | - 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 | ||||
* | Applied patch from Matt Kraai as per his email: | Mark Whitley | 2000-07-10 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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(®ex, argv[optind], reflags)) != 0) { ---patch------- Thanks, Matt, it works great. | ||||
* | include getopt.h | Eric Andersen | 2000-07-09 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Some cosmetic updates. Changed "OPTIONS" to "Options". | Eric Andersen | 2000-07-04 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Fixed comment. | Mark Whitley | 2000-06-28 | 1 | -2/+2 |
| | |||||
* | Added support for reading from stdin with '-' as file name arg. | Mark Whitley | 2000-06-28 | 1 | -1/+1 |
| | |||||
* | Yanked out the cstring_alloc() and cstring_lineFromFile() functions from | Mark Whitley | 2000-06-28 | 1 | -31/+0 |
| | | | | | | | 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. | ||||
* | Brand, spankin', new grep that uses libc regex routines instead of the | Mark Whitley | 2000-06-28 | 1 | -100/+155 |
| | | | | | hand-rolled ones. Sed still needs to be replaced and then the regexp stuff can be axed. | ||||
* | Updates to a number of apps to remove warnings/compile errors under libc5. | Eric Andersen | 2000-06-19 | 1 | -1/+1 |
| | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik | ||||
* | Fix some spelling errors in the source as well. | Eric Andersen | 2000-06-16 | 1 | -2/+2 |
| | | | | -Erik | ||||
* | + removed some cruft left over from when lines could be too long. | John Beppu | 2000-06-14 | 1 | -3/+0 |
| | |||||
* | Fix a bug pointed out by Michal Jaegermann <michal@ellpspace.math.ualberta.ca> | Eric Andersen | 2000-06-13 | 1 | -9/+13 |
| | | | | | | | | where you used to see: ./grep -q -i B some_file B: No such file or directory This is now fixed. -Erik | ||||
* | + utility.c | John Beppu | 2000-06-12 | 1 | -5/+3 |
| | | | | | | | CSTRING_BUFFER_LENGTH = 1024 /* so it recurses less often */ + grep.c uses cstring_lineFromFile(), and doesn't ever say Line is too long, anymore | ||||
* | Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP | Erik Andersen | 2000-05-12 | 1 | -3/+6 |
| | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik | ||||
* | + grep -v # yay! | John Beppu | 2000-04-24 | 1 | -12/+15 |
| | |||||
* | Upates to include copyright 2000 to everything | Erik Andersen | 2000-04-13 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Some formatting updates (ran the code through indent) | Erik Andersen | 2000-02-08 | 1 | -91/+91 |
| | | | | -Erik | ||||
* | Bug fix. grep wasn't printing file names they way it was supposed to. | Erik Andersen | 2000-01-19 | 1 | -3/+6 |
| | | | | -Erik | ||||
* | Fixed cp so it works as God intended it to. | Erik Andersen | 1999-12-29 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Added grep -q, thanks to a patch from "Konstantin Boldyshev" <konst@voshod.com> | Erik Andersen | 1999-12-21 | 1 | -3/+20 |
| | | | | -Erik | ||||
* | Updates to usage, and made tar work. | Eric Andersen | 1999-11-10 | 1 | -3/+4 |
| | | | | -Erik | ||||
* | Stuff | Eric Andersen | 1999-11-09 | 1 | -41/+38 |
| | |||||
* | Stuff | Eric Andersen | 1999-11-08 | 1 | -23/+36 |
| | | | | -Erik | ||||
* | Stuf | Eric Andersen | 1999-10-28 | 1 | -3/+3 |
| | |||||
* | Added regexp support, fixed Changelog. | Eric Andersen | 1999-10-22 | 1 | -36/+10 |
| | |||||
* | Fixed up copyright notices and such | Eric Andersen | 1999-10-20 | 1 | -1/+3 |
| | |||||
* | Added sfdisk. Ststic-ified a bunch of stuff. | Eric Andersen | 1999-10-19 | 1 | -1/+1 |
| | |||||
* | fixes grep, added loadfont from debian bootfloppies. | Eric Andersen | 1999-10-19 | 1 | -95/+58 |
| | | | | -Erik | ||||
* | More stuff... | Eric Andersen | 1999-10-12 | 1 | -73/+71 |
| | |||||
* | More stuff. | Eric Andersen | 1999-10-09 | 1 | -5/+5 |
| | |||||
* | more stuff | Eric Andersen | 1999-10-07 | 1 | -132/+119 |
| | |||||
* | More stuff. | Eric Andersen | 1999-10-06 | 1 | -1/+1 |
| | |||||
* | Initial revision0_29alpha2 | Eric Andersen | 1999-10-05 | 1 | -0/+210 |