aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - Added support for semicolon delimited command lines. (woo-hoo!)markw2000-07-142-62/+144
| | | | | | | | | | | | - 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. git-svn-id: svn://busybox.net/trunk/busybox@861 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Getopt'ed by Marc Nijdam <marc_nijdam@hp.com>andersen2000-07-146-174/+128
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@860 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Getopt'rd by Marc Nijdam <marc_nijdam@hp.com>andersen2000-07-142-42/+22
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More fixes for "signed vs. unsigned" warnings.proski2000-07-144-6/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@858 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduced the number of "signed vs. unsigned" warnings.proski2000-07-142-12/+12
| | | | | | | Sometimes such warnings matter (esp. on PPC with char default to unsigned) git-svn-id: svn://busybox.net/trunk/busybox@857 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More fixes for "missing initializers"proski2000-07-144-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed a warning about missing initializerproski2000-07-142-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The result of getopt() should not be converted to "char" - it breaks on PPCproski2000-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More cleanups.andersen2000-07-1415-69/+69
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix argument parsing.kraai2000-07-142-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be more pedantic aboutthe terminating null applet.andersen2000-07-142-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@851 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uid and gid were unsigned, but were compared vs signed values (-1)andersen2000-07-141-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of minor warning cleanups.andersen2000-07-146-7/+13
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-1481-473/+391
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix some stupid memory bugs.andersen2000-07-142-4/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@847 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in redimentary backtick suport (doesn't work properly yet, but isandersen2000-07-143-120/+219
| | | | | | | | close). -Erik git-svn-id: svn://busybox.net/trunk/busybox@846 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It dawned on me that I would need to grow a char buffer one extra char biggermarkw2000-07-142-2/+8
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@845 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added error checking for edit commands; only a beginning address can bemarkw2000-07-142-2/+8
| | | | | | | specified. git-svn-id: svn://busybox.net/trunk/busybox@844 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added support for (a)ppend, (i)nsert, and (c)hange commands to sed.markw2000-07-142-14/+176
| | | | git-svn-id: svn://busybox.net/trunk/busybox@843 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed bug where sed '/foo/p' was printing "invalid command".markw2000-07-132-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@842 69ca8d6d-28ef-0310-b511-8ec308f3f277
* (Something I should have done in the previous checkin...) Also broke outmarkw2000-07-132-74/+86
| | | | | | | | substitution command execution from do_sed_command() and put it in it's own do_subst_command() function. git-svn-id: svn://busybox.net/trunk/busybox@841 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor code reorg: Changed the interface to index_of_next_unescaped_slash to anmarkw2000-07-132-96/+116
| | | | | | | | interface that seems a little more sensible to me. Also broke out s/// expression parsing into it's own subroutine. git-svn-id: svn://busybox.net/trunk/busybox@840 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix uninitialized variable.andersen2000-07-132-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@839 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Marc Nijdam <marc_nijdam@hp.com>andersen2000-07-131-11/+9
| | | | | | | | | | | > First (of many more) patch of cp_mv to getopt use. I'm using the most > simplistic approach, just get getopt used, then worry about a cleaner > option parsing style using getopt later. > > Marc git-svn-id: svn://busybox.net/trunk/busybox@838 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a smallish TODO comment.markw2000-07-132-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@837 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Matt Kraai <kraai@alumni.carnegiemellon.edu>andersen2000-07-132-48/+56
| | | | | | | | | | | | | | | | > Here is a patch so that tr can handle NULL characters as well. Give it > a shot and let me know what you think. It is against the latest CVS > version. > > In my tests, the following now works as expected. > > tr '\0' '\n' > > Later, > Matt git-svn-id: svn://busybox.net/trunk/busybox@836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Correct argument parsing and other minor cleanups.kraai2000-07-132-22/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added some smallish comments to help folks understand why we have two tablesmarkw2000-07-123-6/+15
| | | | | | | of builtins and the reasoning behind it. git-svn-id: svn://busybox.net/trunk/busybox@834 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.cmarkw2000-07-126-26/+17
| | | | | | | (maybe I'll remove it later). git-svn-id: svn://busybox.net/trunk/busybox@833 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Jon McClintock <jonm@bluemug.com>andersen2000-07-122-2/+134
| | | | | | | | | | | | | | >The attached patch adds the ability to parse the actual mode specifier in >fbset. So now > > fbset -n 640x480-72 > >Will actually work. I don't know if I've reinvented the wheel though... -Erik git-svn-id: svn://busybox.net/trunk/busybox@832 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always report the applet name when doing error reporting.kraai2000-07-1242-144/+141
| | | | git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use global applet_name instead of local versions.kraai2000-07-1220-72/+42
| | | | git-svn-id: svn://busybox.net/trunk/busybox@830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use global applet_name instead of local versions.kraai2000-07-126-50/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@829 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The applet name isn't constant.kraai2000-07-123-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@828 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed verbiage.andersen2000-07-111-1/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@827 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Replaced projects with products/projects.andersen2000-07-111-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added the Kerbango Internet Radio to projects/products using BusyBox.andersen2000-07-111-0/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Matt Kraai to call destroy_cmd_strs in atexit(), rathermarkw2000-07-112-44/+34
| | | | | | | than peppering it throughout the code. git-svn-id: svn://busybox.net/trunk/busybox@824 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added applet_name to contain the applet name.kraai2000-07-113-10/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@823 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Final updates for release.andersen2000-07-116-8/+27
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@821 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Final update for the release.andersen2000-07-111-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@820 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forgot to commit these cleanups it seems.andersen2000-07-1116-22/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More changelog updatesandersen2000-07-111-3/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@818 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added changelog entries for grep/sed/regex changes.markw2000-07-111-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@817 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some changelog updates.andersen2000-07-111-1/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@816 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Re-enable ln -n in the help.andersen2000-07-112-4/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another patch from Matt Kraai <kraai@alumni.carnegiemellon.edu>:andersen2000-07-112-54/+4
| | | | | | | | | | | | | > > The following patch allows ln -n to function like GNU. It also fixes a > typo with my previous patch to add support for ln FILE DIRECTORY. And > it removes some code that checks the maximum length of the filenames. I > can't figure out why that code is necessary. Anyone know? > > Matt git-svn-id: svn://busybox.net/trunk/busybox@814 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added 'dumpkmap' to allow people to dump a binary keymap, which can then beandersen2000-07-1111-14/+248
| | | | | | | | loaded in by 'loadkmap' -- submitted by Arne Bernin <arne@matrix.loopback.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@813 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Matt Kraai which does the following:markw2000-07-116-195/+120
| | | | | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@812 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dead link.kraai2000-07-111-1/+1
| | | | | | | -Matt git-svn-id: svn://busybox.net/trunk/busybox@811 69ca8d6d-28ef-0310-b511-8ec308f3f277