Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-05-01 | Another hush update from Larry: | Eric Andersen | |
Minor improvements. Something is still broken with running scripts via "hush filename". All the following are now handled acceptably (matches ash, not bash). if true; then echo foo1; fi if true; then echo foo2; fi if true; false; then echo bar; else echo foo3; fi if true || false; then echo foo4; fi - Larry | |||
2001-04-30 | Some more hush.c updates from Larry Doolittle. | Eric Andersen | |
2001-04-27 | Use BUFSIZ for the_command to match size used in cmdedit | Eric Andersen | |
2001-04-27 | An update to hush from Larry: | Eric Andersen | |
It should recover more smoothly from syntax errors, and it now has a decent guess when the reserved word construct is over (or not) to control execution and prompting. I took out all the redundant standalone test copies of libbb routines, but left in a hook so I can include those for my testing. I'll post that include file on my web site. - Larry | |||
2001-04-26 | This is the initial checkin of Larry Doolittle's hush.c, using his | Eric Andersen | |
April 25, 2001 snapshot, adjusted a bit by me so it has cmdedit support. This checkin also removes sh.c. In the future sh.c will be a symlink to your shell of choice. For now, this symlink will default to pointing to lash.c (as in the past). If you change the symlink to point to hush.c, then thats what you will get. This symlink business is a temporary situation, which will be cleaned up Real Soon Now(tm). -Erik | |||
2001-04-25 | Moved some #ifdefs down below #include "busybox.h" where they belong. | Mark Whitley | |
2001-04-23 | Some patches from Gennady Feldman. Fixed a glob problem such that | Eric Andersen | |
'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input. | |||
2001-04-12 | Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>. | Matt Kraai | |
2001-04-12 | Fix handling of '' and "". | Matt Kraai | |
2001-04-09 | Apply Vladimir's latest cleanup patch. | Eric Andersen | |
-Erik | |||
2001-04-05 | Add support of /W prompts | Eric Andersen | |
-Erik | |||
2001-04-04 | Avoid segfault when export is invoked with no arguments. Thanks to | Matt Kraai | |
Gennady Feldman. | |||
2001-03-29 | Add in a new standalone env applet for fixing up app's environments | Eric Andersen | |
-Erik | |||
2001-03-27 | Fix to last patch: locale code should be 9, not 7. | Mark Whitley | |
2001-03-27 | Applied patch from Vladimir N. Oleynik to add locale support to the shell per | Mark Whitley | |
bug report from Ralph Jones. | |||
2001-03-23 | -Wshadow sh fix from Jeff Garzik | Eric Andersen | |
2001-03-21 | A nice patch from Larry Doolittle that adds -Wshadow and | Eric Andersen | |
cleans up most of the now-revealed problems. | |||
2001-03-19 | Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com> | Eric Andersen | |
2001-03-19 | Fix to cmdedit.c from Vladimir | Eric Andersen | |
2001-03-17 | Patch from Larry and Vladimir to clean up sh.c and fix | Eric Andersen | |
shell expansion to work in non POSIX locales. | |||
2001-03-15 | Fix from Larry for glob problems. | Eric Andersen | |
-Erik | |||
2001-03-15 | cmdedit.c bugfix patch from Vladimir. | Eric Andersen | |
-Erik | |||
2001-03-15 | Reversed previous patch. The right way is to fix uClibc. | Mark Whitley | |
2001-03-15 | Applied patch from Andreas Neuhaus to fix namespace conflict that made busybox | Mark Whitley | |
not compile with uClibc. | |||
2001-03-14 | Yesterday I make strsep_space include post-token whitespace, | Eric Andersen | |
so we should not be adding another " " between tokens. -Erik | |||
2001-03-14 | I forgot to malloc space for the NULL. | Eric Andersen | |
-Erik | |||
2001-03-14 | Applied patch from Larry Doolittle to fix '>\na\n' bug. Should close bug #1132 | Mark Whitley | |
2001-03-14 | libc5 glob is pretty stupid and doesn't do GLOB_BRACE or GLOB_TILDE | Eric Andersen | |
-Erik | |||
2001-03-14 | - Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPT | Mark Whitley | |
- Set BB_FEATURE_SH_STANDALONE_SHELL and BB_FEATURE_SH_APPLETS_ALWAYS_WIN to be off by default - Set BB_FEATURE_SH_SIMPLE_PROMPT to be on by default - Added some more magic to the Olympus section to make all the dependencies on the shell, cmdline editing, tab completion and friend work properly. - Tidied up the Olympus section with some whitespace. Checked the various scrips that parse through there and the extra whitespace shouldn't break anything. | |||
2001-03-13 | Update the lash shell (hopefully the last time...) so things like | Eric Andersen | |
echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik | |||
2001-03-12 | A fix from Larry Doolittle for some nasty segfaults when sh.c tried to free a | Eric Andersen | |
corrupted cmd pointer, and where it would truncate a command line at the first double space. -Erik | |||
2001-03-10 | When using wordexp, only try to use the expand command | Eric Andersen | |
when something actually got expanded. Skip it otherwise. -Erik | |||
2001-03-09 | Fixed a couple more cases. $FOO/bar ${FOO} and such now work | Eric Andersen | |
without wordexp. Of course for stuff like ${1:-foo} you still need wordexp for them to work. -Erik | |||
2001-03-09 | Allow wordexp to be used if available | Eric Andersen | |
2001-03-09 | Urg. Remove the debug noise | Eric Andersen | |
2001-03-09 | Ok, sh.c should be working now. Many thanks to Larry Doolittle | Eric Andersen | |
for his timely help -- nearly all of the work in this patch is his. -Erik | |||
2001-03-09 | Fix sh.c for the glab case. I was messing things up for | Eric Andersen | |
single argument commands. It should now work as expected... -Erik | |||
2001-03-09 | A '.' is a legal seperator. | Eric Andersen | |
2001-03-09 | Cleanup patch from Larry | Eric Andersen | |
2001-03-08 | Add in 'trim' routine. Fix up sh.c so it works when wordexp | Eric Andersen | |
is not available. -Erik | |||
2001-03-08 | Whitespace / formatting / bracket cleanup. | Mark Whitley | |
2001-03-08 | Remember to delete un-expandable variables, and do a better job of expanding | Eric Andersen | |
shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik | |||
2001-03-08 | Rework environment variable handling to use wordexp, per a suggestion from | Eric Andersen | |
Larry Doolittle a couple of months ago. This makes the stuff-expansion in lash be ever so standards compliant. This change needs testing by everyone, but appears to be solid enough to let us close bug #1090. It works for me; however, please test this change! -Erik | |||
2001-03-07 | remove an unused variable | Eric Andersen | |
2001-03-06 | Fix the memory leak. No really this time. | Eric Andersen | |
-Erik | |||
2001-03-06 | Fix func prototype | Eric Andersen | |
2001-03-06 | Fixed a memory leak in lash. It seems that close_all was calling close() | Eric Andersen | |
directly instead of calling mark_closed(), which allowed the memory allocated by mark_open() to never be freed. -Erik | |||
2001-03-06 | Close open files before calling builtin_exec(). I've tested this | Eric Andersen | |
and it fixes bug #1121. -Erik | |||
2001-02-20 | Oops. Since dirent.h depends on BB_FEATURE_SH_TAB_COMPLETION, put it | Eric Andersen | |
after busybox.h is included. | |||
2001-02-20 | This fixes lash so it handles environment variable expansion, regardless | Eric Andersen | |
of where the environment variables are located in an argument. This allows things like 'echo foo$1$SHELL' to expand the same way bash would expand it. Of course, to make this work I introduced a memory leak, and I am too tired to find a way to fix it. -Erik |