summaryrefslogtreecommitdiff
path: root/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-252-2/+2
| | | | -Erik
* Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>)Eric Andersen2000-09-211-1/+16
| | | | | and disable backticks (since they are still wierdly broken in some cases.
* I think these featires are fairly safe...Eric Andersen2000-09-191-2/+2
| | | | -Erik
* Avoid segfaults by not using snprintf to copy strings.Matt Kraai2000-09-191-1/+2
|
* "exit NUMBER" should exit, not returnPavel Roskin2000-09-151-1/+1
|
* Backslashes shouldn't be treated as backticks.Matt Kraai2000-09-141-10/+11
|
* Copy the string terminator.Matt Kraai2000-09-141-1/+1
|
* Don't fork for the . (source) command so that environment settings areMatt Kraai2000-09-131-1/+2
| | | | preserved.
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-7/+7
| | | | segfaulting or handling errors the same way themselves.
* Fix unchecked calls to {m,c,re}alloc so that they print an error andMatt Kraai2000-09-131-16/+15
| | | | exit rather than segfaulting (what an improvement).
* Reset optind so that getopt works in busybox applets called directly by sh.Matt Kraai2000-09-061-17/+7
| | | | Change the behavior of -c to correctly handle $1..$9.
* Turn off some debug noise.Eric Andersen2000-08-211-2/+2
| | | | -Erik
* Clean up the nasty blunder I'd made of how different behaviors happen.Eric Andersen2000-07-281-14/+16
| | | | -Erik
* Oops. Forgot an ifdefEric Andersen2000-07-281-0/+2
| | | | -Erik
* More sh updates (with related changes to everything else). SwitchedEric Andersen2000-07-283-62/+143
| | | | | | 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 (disableEric Andersen2000-07-271-113/+239
| | | | | | by default pending further debugging). Added in some basic shell environment support (i.e. $?, $0-$9, $$, $!, $#). -Erik
* Minor style cleanups.Eric Andersen2000-07-261-8/+9
|
* Finish off fixing up the memleaks (I think). Added the beginnings ofEric Andersen2000-07-251-38/+123
| | | | | some if-then-else-fi support (nonfunctional and turned off) -Erik
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-0/+12
| | | | -Erik
* Avoid trying to free NULL ptrs. Comment on malloc usages.Eric Andersen2000-07-191-4/+6
| | | | -Erik
* Sigh -- can't sleep. Clean up some mem leaks, fixed some bugs.Eric Andersen2000-07-181-39/+43
| | | | -Erik
* New message added to messages.c: full_versionPavel Roskin2000-07-171-1/+5
| | | | Used where possible
* Backtick support to infinite (memory limited) levels of nesting isEric Andersen2000-07-171-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 Kraai2000-07-161-8/+0
|
* More cleanups.Eric Andersen2000-07-141-3/+3
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-10/+10
|
* Fix some stupid memory bugs.Eric Andersen2000-07-141-2/+1
| | | | -Erik
* Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen2000-07-141-40/+73
| | | | | close). -Erik
* Added a smallish TODO comment.Mark Whitley2000-07-131-0/+5
|
* Added some smallish comments to help folks understand why we have two tablesMark Whitley2000-07-121-2/+5
| | | | of builtins and the reasoning behind it.
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-5/+5
|
* Function name cleanup.Eric Andersen2000-07-101-41/+45
| | | | -Erik
* Naming fixEric Andersen2000-07-071-3/+3
| | | | -Erik
* Had an extra tcsetpgrp.Eric Andersen2000-07-061-4/+0
| | | | -Erik
* Fixed a potential infinite loop. First delete any chars after theEric Andersen2000-07-041-1/+10
| | | | | | | 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
* sh fixes from Marius Groeger <mag@sysgo.de>Eric Andersen2000-07-031-12/+67
| | | | -Erik
* * Fixed a _horrible_ bug where 'tar -tvf' could unlinkEric Andersen2000-06-281-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 Andersen2000-06-191-2/+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 Andersen2000-06-161-1/+1
| | | | -Erik
* First pass at fixing tar segfault, and more portability updates.Erik Andersen2000-05-201-0/+6
| | | | -Erik
* More libc portability updates, add in the website (which has not beenErik Andersen2000-05-191-3/+18
| | | | | archived previously). Wrote 'which' during the meeting today. -Erik
* Minor fixes to being a standalone shell.Erik Andersen2000-05-131-1/+1
| | | | -Erik
* BusyBox shell (lash) can now be used as a standalone shell whenErik Andersen2000-05-131-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_HELPErik Andersen2000-05-121-2/+5
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* More Doc updates. cmdedit and more termio fixes.Erik Andersen2000-04-213-20/+57
|
* UpdatesErik Andersen2000-04-182-1/+3
| | | | -Erik
* + no need for comments.John Beppu2000-04-171-1/+0
|
* More updates to the docs, and fixes to sync things with the docs.Erik Andersen2000-04-171-1/+4
| | | | -Erik
* Upates to include copyright 2000 to everythingErik Andersen2000-04-131-58/+8
| | | | -Erik
* Some enhancements I've been working on over the weekend,Erik Andersen2000-04-123-324/+380
| | | | -Erik