aboutsummaryrefslogtreecommitdiff
path: root/shell
AgeCommit message (Collapse)Author
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 calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
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-25Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen
-Erik
2000-07-19Avoid trying to free NULL ptrs. Comment on malloc usages.Eric Andersen
-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-14Fix some stupid memory bugs.Eric Andersen
-Erik
2000-07-14Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen
close). -Erik
2000-07-13Added a smallish TODO comment.Mark Whitley
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-07Naming fixEric Andersen
-Erik
2000-07-06Had an extra tcsetpgrp.Eric Andersen
-Erik
2000-07-04Fixed a potential infinite loop. First delete any chars after theEric Andersen
cursor, then delete everything before it. Before this, we would just delete everything before the cursor and freak out if there were still chars left (i.e. stuff after the cursor). -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-06-16Fix some spelling errors in the source as well.Eric Andersen
-Erik
2000-05-20First pass at fixing tar segfault, and more portability updates.Erik Andersen
-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-13Upates to include copyright 2000 to everythingErik Andersen
-Erik
2000-04-12Some enhancements I've been working on over the weekend,Erik Andersen
-Erik
2000-04-09Make tab completion an optionErik Andersen
-Erik