summaryrefslogtreecommitdiff
path: root/lash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -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 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-281-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 (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
* 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
|
* Add in redimentary backtick suport (doesn't work properly yet, but isEric Andersen2000-07-141-40/+73
| | | | | close). -Erik
* 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
* Had an extra tcsetpgrp.Eric Andersen2000-07-061-4/+0
| | | | -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
* 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-211-0/+1
|
* UpdatesErik Andersen2000-04-181-1/+0
| | | | -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
* Some enhancements I've been working on over the weekend,Erik Andersen2000-04-121-17/+22
| | | | -Erik
* Minor noise removalErik Andersen2000-04-051-2/+2
| | | | -Erik
* First stages of (re-)writing busybox's tar creation support.Erik Andersen2000-03-261-1/+1
| | | | -Erik
* Some more stuff.Erik Andersen2000-03-191-9/+12
| | | | -Erik
* Several fixes.Erik Andersen2000-03-171-6/+6
| | | | -Erik
* Fix fg bugErik Andersen2000-03-161-670/+676
| | | | -Erik
* Major build system updates...Erik Andersen2000-03-161-606/+649
| | | | -Erik
* First pass at writing a shell for busybox.Erik Andersen2000-03-121-0/+915
Works fine, full job control support, etc. No syntax yet (if, then, while, etc). Handles pipes and & processes fine. TODO: add command editing, add syntax suport. -Erik