aboutsummaryrefslogtreecommitdiff
path: root/lash.c
AgeCommit message (Collapse)Author
2000-11-30Patch from Larry Doolittle (with minor touchups from me so everything compilesEric Andersen
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
2000-11-30Fix escape char problem.Eric Andersen
2000-11-17"I will always compile before I commit."Eric Andersen
"I will always compile before I commit." "I will always compile before I commit." -Erik
2000-11-17Fix up builtin overrides, and hack in the binary search for findingEric Andersen
matching applets into the shell.
2000-11-17Add in a new FEATURE (off by default) BB_FEATURE_SH_BUILTINS_ALWAYS_WIN.Eric Andersen
Make the sh default to using external commands when a path is provided.
2000-11-14Patch from Gennady Feldman <gfeldman@tradeline.net> to:Eric Andersen
1. Opens redirections w/ the right access. 2. Doesn't do globbing for every single parameter (so it doesn't stat every parameter).
2000-09-27Consolidate handling of some fopen failures.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-21Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>)Eric Andersen
and disable backticks (since they are still wierdly broken in some cases.
2000-09-19I think these featires are fairly safe...Eric Andersen
-Erik
2000-09-19Avoid segfaults by not using snprintf to copy strings.Matt Kraai
2000-09-15"exit NUMBER" should exit, not returnPavel Roskin
2000-09-14Backslashes shouldn't be treated as backticks.Matt Kraai
2000-09-14Copy the string terminator.Matt Kraai
2000-09-13Don't fork for the . (source) command so that environment settings areMatt Kraai
preserved.
2000-09-13Fix unchecked calls to {m,c,re}alloc so that they print an error andMatt Kraai
exit rather than segfaulting (what an improvement).
2000-09-06Reset optind so that getopt works in busybox applets called directly by sh.Matt Kraai
Change the behavior of -c to correctly handle $1..$9.
2000-08-21Turn off some debug noise.Eric Andersen
-Erik
2000-07-28Clean up the nasty blunder I'd made of how different behaviors happen.Eric Andersen
-Erik
2000-07-28Oops. Forgot an ifdefEric Andersen
-Erik
2000-07-28More sh updates (with related changes to everything else). SwitchedEric Andersen
to using getopt and cleaned up the resulting mess. if-then-else-fi is now basically working (given a bunch of constraints). -Erik
2000-07-27More shell features.... if-then-else-fi is now basically usable (disableEric Andersen
by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik
2000-07-26Minor style cleanups.Eric Andersen
2000-07-25Finish off fixing up the memleaks (I think). Added the beginnings ofEric Andersen
some if-then-else-fi support (nonfunctional and turned off) -Erik
2000-07-18Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.Eric Andersen
-Erik
2000-07-17New message added to messages.c: full_versionPavel Roskin
Used where possible
2000-07-17Backtick support to infinite (memory limited) levels of nesting isEric Andersen
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
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14More cleanups.Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-14Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen
close). -Erik
2000-07-12Added some smallish comments to help folks understand why we have two tablesMark Whitley
of builtins and the reasoning behind it.
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-07-10Function name cleanup.Eric Andersen
-Erik
2000-07-06Had an extra tcsetpgrp.Eric Andersen
-Erik
2000-07-03sh fixes from Marius Groeger <mag@sysgo.de>Eric Andersen
-Erik
2000-06-28* Fixed a _horrible_ bug where 'tar -tvf' could unlinkEric Andersen
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
2000-06-19Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen
Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
2000-05-19More libc portability updates, add in the website (which has not beenErik Andersen
archived previously). Wrote 'which' during the meeting today. -Erik
2000-05-13Minor fixes to being a standalone shell.Erik Andersen
-Erik
2000-05-13BusyBox shell (lash) can now be used as a standalone shell whenErik Andersen
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
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-04-21More Doc updates. cmdedit and more termio fixes.Erik Andersen
2000-04-18UpdatesErik Andersen
-Erik
2000-04-17+ no need for comments.John Beppu
2000-04-17More updates to the docs, and fixes to sync things with the docs.Erik Andersen
-Erik
2000-04-12Some enhancements I've been working on over the weekend,Erik Andersen
-Erik
2000-04-05Minor noise removalErik Andersen
-Erik
2000-03-26First stages of (re-)writing busybox's tar creation support.Erik Andersen
-Erik
2000-03-19Some more stuff.Erik Andersen
-Erik