Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Added support for semicolon delimited command lines. (woo-hoo!) | Mark Whitley | 2000-07-14 | 1 | -31/+72 | |
| | | | | | | | | | - Obsoleted the trim_str function (#if 0'ed out -- maybedelete later) in favor of strrspn. - Obsoleted the strrspn function (#if 0'ed out as well) as soon as I discovered that it wasn't needed either. - Fixed a subtle bug in parse_subst_cmd where it would choke with an error if there was any trailing space after the s/match/replace/ expression. | |||||
* | Use errorMsg rather than fprintf. | Matt Kraai | 2000-07-14 | 1 | -3/+3 | |
| | ||||||
* | It dawned on me that I would need to grow a char buffer one extra char bigger | Mark Whitley | 2000-07-14 | 1 | -1/+4 | |
| | | | | | | to accomodate a trailing '\n'ewline that I append to it later one. This is only necessary for the case of one inserted, appended, or changed line, but it's still necessary. | |||||
* | Added error checking for edit commands; only a beginning address can be | Mark Whitley | 2000-07-14 | 1 | -1/+4 | |
| | | | | specified. | |||||
* | Added support for (a)ppend, (i)nsert, and (c)hange commands to sed. | Mark Whitley | 2000-07-14 | 1 | -7/+88 | |
| | ||||||
* | Fixed bug where sed '/foo/p' was printing "invalid command". | Mark Whitley | 2000-07-13 | 1 | -2/+1 | |
| | ||||||
* | (Something I should have done in the previous checkin...) Also broke out | Mark Whitley | 2000-07-13 | 1 | -37/+43 | |
| | | | | | substitution command execution from do_sed_command() and put it in it's own do_subst_command() function. | |||||
* | Minor code reorg: Changed the interface to index_of_next_unescaped_slash to an | Mark Whitley | 2000-07-13 | 1 | -48/+58 | |
| | | | | | interface that seems a little more sensible to me. Also broke out s/// expression parsing into it's own subroutine. | |||||
* | Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c | Mark Whitley | 2000-07-12 | 1 | -8/+6 | |
| | | | | (maybe I'll remove it later). | |||||
* | Always report the applet name when doing error reporting. | Matt Kraai | 2000-07-12 | 1 | -7/+7 | |
| | ||||||
* | Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), rather | Mark Whitley | 2000-07-11 | 1 | -22/+17 | |
| | | | | than peppering it throughout the code. | |||||
* | Applied patch from Matt Kraai which does the following: | Mark Whitley | 2000-07-11 | 1 | -83/+50 | |
| | | | | | | | - 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 | |||||
* | Brand, new sed that uses libc regex routines. | Mark Whitley | 2000-07-10 | 1 | -280/+483 | |
| | | | | | | | There is some common code used by both sed & grep that should be put into utility.c as per Mat Kraai's suggestions/patch on the mailing list. Specifically, a common regex_compile() and a regex_subst() function need to be made. | |||||
* | 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 | |||||
* | 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 | |||||
* | Upates to include copyright 2000 to everything | Erik Andersen | 2000-04-13 | 1 | -1/+1 | |
| | | | | -Erik | |||||
* | Fixed a bug where "sed 's/foo/bar/g'" (i.e. a script w/o a -e) | Erik Andersen | 2000-03-06 | 1 | -123/+123 | |
| | | | | | would go into an infinite loop. -Erik | |||||
* | More minor touchups. | Erik Andersen | 2000-02-10 | 1 | -124/+126 | |
| | | | | -Erik | |||||
* | Some formatting updates (ran the code through indent) | Erik Andersen | 2000-02-08 | 1 | -260/+262 | |
| | | | | -Erik | |||||
* | Bunches of fixes. Typos, bugs, etc. | Erik Andersen | 2000-01-04 | 1 | -1/+1 | |
| | | | | | | Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik | |||||
* | * sed now supports addresses (numeric or regexp, with negation) and | Erik Andersen | 1999-12-29 | 1 | -84/+254 | |
| | | | | | | | | has an append command, thanks to Marco Pantaleoni <panta@prosa.it> * Fixed dmesg. It wasn't parsing its options (-n or -s) properly. * Some cosmetic fixes to ls output formatting to make it behave more like GNU ls. -Erik | |||||
* | Updates to usage, and made tar work. | Eric Andersen | 1999-11-10 | 1 | -7/+7 | |
| | | | | -Erik | |||||
* | Stuff | Eric Andersen | 1999-11-09 | 1 | -33/+35 | |
| | ||||||
* | More stuf. sed works. | Eric Andersen | 1999-10-29 | 1 | -7/+25 | |
| | ||||||
* | Stuf | Eric Andersen | 1999-10-29 | 1 | -4/+2 | |
| | ||||||
* | Stuff | Eric Andersen | 1999-10-29 | 1 | -48/+62 | |
| | ||||||
* | Stuf | Eric Andersen | 1999-10-28 | 1 | -0/+150 | |