Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mem leak fix from Matt Kraai | Eric Andersen | 2000-12-12 | 1 | -5/+1 |
| | |||||
* | Patch from Matt Kraai to fox sh.c escape problem such that | Eric Andersen | 2000-12-11 | 1 | -1/+3 |
| | | | | | running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"' behave as under bash. | ||||
* | Put in i to getopt, so i will work... | Eric Andersen | 2000-12-08 | 1 | -1/+1 |
| | |||||
* | Changed names of functions in utility.c and all affected files, to make | Mark Whitley | 2000-12-07 | 1 | -17/+17 |
| | | | | compliant with the style guide. Everybody rebuild your tags file! | ||||
* | Bettwr document the hidden internal sh.c #defines, and which folks | Eric Andersen | 2000-12-06 | 1 | -2/+10 |
| | | | | might want to use... | ||||
* | patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN | Eric Andersen | 2000-12-06 | 1 | -2/+2 |
| | | | | to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN. | ||||
* | Stop using TRUE and FALSE for exit status. | Matt Kraai | 2000-12-01 | 1 | -21/+21 |
| | |||||
* | Apply some patches from Gennady Feldman <gfeldman@mail.com> to | Eric Andersen | 2000-11-30 | 1 | -39/+65 |
| | | | | | . /etc/profile, and to emulate bash prompt. I've cleaned up his patches a bit and all looks good now... | ||||
* | Patch from Larry Doolittle (with minor touchups from me so everything compiles | Eric Andersen | 2000-11-30 | 1 | -0/+1 |
| | | | | | and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes. | ||||
* | Fix escape char problem. | Eric Andersen | 2000-11-30 | 1 | -4/+13 |
| | |||||
* | "I will always compile before I commit." | Eric Andersen | 2000-11-17 | 1 | -1/+1 |
| | | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik | ||||
* | Fix up builtin overrides, and hack in the binary search for finding | Eric Andersen | 2000-11-17 | 1 | -28/+32 |
| | | | | matching applets into the shell. | ||||
* | Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN. | Eric Andersen | 2000-11-17 | 1 | -1/+18 |
| | | | | Make the sh default to using external commands when a path is provided. | ||||
* | Patch from Gennady Feldman <gfeldman@tradeline.net> to: | Eric Andersen | 2000-11-14 | 1 | -23/+34 |
| | | | | | | 1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter). | ||||
* | Consolidate handling of some fopen failures. | Matt Kraai | 2000-09-27 | 1 | -4/+1 |
| | |||||
* | Renamed "internal.h" to the more sensible "busybox.h". | Eric Andersen | 2000-09-25 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>) | Eric Andersen | 2000-09-21 | 1 | -1/+16 |
| | | | | | and disable backticks (since they are still wierdly broken in some cases. | ||||
* | I think these featires are fairly safe... | Eric Andersen | 2000-09-19 | 1 | -2/+2 |
| | | | | -Erik | ||||
* | Avoid segfaults by not using snprintf to copy strings. | Matt Kraai | 2000-09-19 | 1 | -1/+2 |
| | |||||
* | "exit NUMBER" should exit, not return | Pavel Roskin | 2000-09-15 | 1 | -1/+1 |
| | |||||
* | Backslashes shouldn't be treated as backticks. | Matt Kraai | 2000-09-14 | 1 | -10/+11 |
| | |||||
* | Copy the string terminator. | Matt Kraai | 2000-09-14 | 1 | -1/+1 |
| | |||||
* | Don't fork for the . (source) command so that environment settings are | Matt Kraai | 2000-09-13 | 1 | -1/+2 |
| | | | | preserved. | ||||
* | Fix unchecked calls to {m,c,re}alloc so that they print an error and | Matt Kraai | 2000-09-13 | 1 | -16/+15 |
| | | | | exit rather than segfaulting (what an improvement). | ||||
* | Reset optind so that getopt works in busybox applets called directly by sh. | Matt Kraai | 2000-09-06 | 1 | -17/+7 |
| | | | | Change the behavior of -c to correctly handle $1..$9. | ||||
* | Turn off some debug noise. | Eric Andersen | 2000-08-21 | 1 | -2/+2 |
| | | | | -Erik | ||||
* | Clean up the nasty blunder I'd made of how different behaviors happen. | Eric Andersen | 2000-07-28 | 1 | -14/+16 |
| | | | | -Erik | ||||
* | Oops. Forgot an ifdef | Eric Andersen | 2000-07-28 | 1 | -0/+2 |
| | | | | -Erik | ||||
* | More sh updates (with related changes to everything else). Switched | Eric Andersen | 2000-07-28 | 1 | -61/+118 |
| | | | | | | to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik | ||||
* | More shell features.... if-then-else-fi is now basically usable (disable | Eric Andersen | 2000-07-27 | 1 | -113/+239 |
| | | | | | | by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik | ||||
* | Minor style cleanups. | Eric Andersen | 2000-07-26 | 1 | -8/+9 |
| | |||||
* | Finish off fixing up the memleaks (I think). Added the beginnings of | Eric Andersen | 2000-07-25 | 1 | -38/+123 |
| | | | | | some if-then-else-fi support (nonfunctional and turned off) -Erik | ||||
* | Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs. | Eric Andersen | 2000-07-18 | 1 | -39/+43 |
| | | | | -Erik | ||||
* | New message added to messages.c: full_version | Pavel Roskin | 2000-07-17 | 1 | -1/+5 |
| | | | | Used where possible | ||||
* | Backtick support to infinite (memory limited) levels of nesting is | Eric Andersen | 2000-07-17 | 1 | -30/+85 |
| | | | | | | | | | | | | now implemented... So now busybox shell can do cool stuff like: /home/andersen/CVS/busybox # echo foo `wc README` bar foo 71 422 2951 README bar I love writing cool new features.... Muhahahaha... (I think this is leaking a little bit of memory every time it expands a backtick process, so I still needs to do a bit of cleanup...) -Erik | ||||
* | Extract usage information into a separate file. | Matt Kraai | 2000-07-16 | 1 | -8/+0 |
| | |||||
* | More cleanups. | Eric Andersen | 2000-07-14 | 1 | -3/+3 |
| | | | | -Erik | ||||
* | Use errorMsg rather than fprintf. | Matt Kraai | 2000-07-14 | 1 | -10/+10 |
| | |||||
* | Add in redimentary backtick suport (doesn't work properly yet, but is | Eric Andersen | 2000-07-14 | 1 | -40/+73 |
| | | | | | close). -Erik | ||||
* | Added some smallish comments to help folks understand why we have two tables | Mark Whitley | 2000-07-12 | 1 | -2/+5 |
| | | | | of builtins and the reasoning behind it. | ||||
* | Always report the applet name when doing error reporting. | Matt Kraai | 2000-07-12 | 1 | -5/+5 |
| | |||||
* | Function name cleanup. | Eric Andersen | 2000-07-10 | 1 | -41/+45 |
| | | | | -Erik | ||||
* | Had an extra tcsetpgrp. | Eric Andersen | 2000-07-06 | 1 | -4/+0 |
| | | | | -Erik | ||||
* | sh fixes from Marius Groeger <mag@sysgo.de> | Eric Andersen | 2000-07-03 | 1 | -12/+67 |
| | | | | -Erik | ||||
* | * Fixed a _horrible_ bug where 'tar -tvf' could unlink | Eric Andersen | 2000-06-28 | 1 | -20/+56 |
| | | | | | | | | local files!!! Fix thanks to Marius Groeger <mgroeger@sysgo.de> * Added support for "sh -c command args...", also thanks to Marius Groeger <mgroeger@sysgo.de> -Erik | ||||
* | Updates to a number of apps to remove warnings/compile errors under libc5. | Eric Andersen | 2000-06-19 | 1 | -2/+1 |
| | | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik | ||||
* | More libc portability updates, add in the website (which has not been | Erik Andersen | 2000-05-19 | 1 | -3/+18 |
| | | | | | archived previously). Wrote 'which' during the meeting today. -Erik | ||||
* | Minor fixes to being a standalone shell. | Erik Andersen | 2000-05-13 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | BusyBox shell (lash) can now be used as a standalone shell when | Erik Andersen | 2000-05-13 | 1 | -7/+23 |
| | | | | | | BB_FEATURE_STANDALONE_SHELL is defined (i.e. BusyBox can now completely replace sash). Also fixed it so shell builtins now respect pipes and redirects. -Erik | ||||
* | Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP | Erik Andersen | 2000-05-12 | 1 | -2/+5 |
| | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik |