summaryrefslogtreecommitdiff
path: root/shell/lash.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Begin moving things to busybox.netEric Andersen2001-12-081-1/+1
| | | | -Erik
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-1/+1
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-1/+6
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-18/+20
| | | | -Erik
* Add an option to make the shells not advertise their busybox natureEric Andersen2001-10-191-0/+2
|
* Patch from Magnus Damm <damm@opensource.se> to avoid lash hangingEric Andersen2001-10-031-1/+7
| | | | on serial ports
* Fix a warning and potential segfault in lash when BB_FEATURE_CLEAN_UPEric Andersen2001-08-221-2/+2
| | | | is enabled
* Allow multiple shells to be enabled.Matt Kraai2001-08-011-1/+1
|
* Patch from vodz:Eric Andersen2001-07-121-5/+1
| | | | | | | Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
* don't whine if all we need to do is remove a bg jobEric Andersen2001-06-271-1/+2
|
* Re-enable globbing (I'd accidentaly removed it) and finish off the lastEric Andersen2001-06-271-10/+224
| | | | | of the job control polishing. Works fine now. -Erik
* This should finish off the job control issues with lash. Make certainEric Andersen2001-06-251-15/+46
| | | | | we have a controlling terminal... -Erik
* This commit guts lash, restoring it to what it was originally intended to do,Eric Andersen2001-06-211-582/+32
| | | | | | just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik
* Patch from larry to fix some grammar errors.Eric Andersen2001-05-231-2/+2
|
* Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bugEric Andersen2001-05-211-3/+3
| | | | #1130 (i.e. When you turn on features it should always ADD features)
* Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.cMatt Kraai2001-05-161-2/+2
| | | | by Larry Doolittle.
* Fix up some silly warningsEric Andersen2001-05-111-3/+3
|
* Fix a segfault in lash, hush, and cmdedit. Each of these usedEric Andersen2001-05-111-2/+7
| | | | | | xgetcwd, but did not check the return for a NULL, and then continued to call strlen on the NULL when the cwd had been removed from under it. -Erik
* Moved some #ifdefs down below #include "busybox.h" where they belong.Mark Whitley2001-04-251-2/+2
|
* Some patches from Gennady Feldman. Fixed a glob problem such thatEric Andersen2001-04-231-5/+5
| | | | | 'ls *.h Config.h' works. Fixed a silly typo with fg/bg process control. Made cmdedit exit sanely when it cannot read input.
* Another banner consolidation from Larry Doolittle <ldoolitt@recycle.lbl.gov>.Matt Kraai2001-04-121-1/+1
|
* Fix handling of '' and "".Matt Kraai2001-04-121-4/+6
|
* Apply Vladimir's latest cleanup patch.Eric Andersen2001-04-091-22/+15
| | | | -Erik
* Avoid segfault when export is invoked with no arguments. Thanks toMatt Kraai2001-04-041-0/+1
| | | | Gennady Feldman.
* Add in a new standalone env applet for fixing up app's environmentsEric Andersen2001-03-291-16/+5
| | | | -Erik
* Fix to last patch: locale code should be 9, not 7.Mark Whitley2001-03-271-1/+1
|
* Applied patch from Vladimir N. Oleynik to add locale support to the shell perMark Whitley2001-03-271-0/+6
| | | | bug report from Ralph Jones.
* -Wshadow sh fix from Jeff GarzikEric Andersen2001-03-231-2/+2
|
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-35/+35
| | | | cleans up most of the now-revealed problems.
* Patch from Larry and Vladimir to clean up sh.c and fixEric Andersen2001-03-171-18/+12
| | | | shell expansion to work in non POSIX locales.
* Fix from Larry for glob problems.Eric Andersen2001-03-151-1/+5
| | | | -Erik
* Reversed previous patch. The right way is to fix uClibc.Mark Whitley2001-03-151-5/+0
|
* Applied patch from Andreas Neuhaus to fix namespace conflict that made busyboxMark Whitley2001-03-151-0/+5
| | | | not compile with uClibc.
* Yesterday I make strsep_space include post-token whitespace,Eric Andersen2001-03-141-2/+1
| | | | | so we should not be adding another " " between tokens. -Erik
* I forgot to malloc space for the NULL.Eric Andersen2001-03-141-1/+1
| | | | -Erik
* Applied patch from Larry Doolittle to fix '>\na\n' bug. Should close bug #1132Mark Whitley2001-03-141-3/+8
|
* libc5 glob is pretty stupid and doesn't do GLOB_BRACE or GLOB_TILDEEric Andersen2001-03-141-1/+8
| | | | -Erik
* - Changed name of BB_FEATURE_SIMPLE_PROMPT to BB_FEATURE_SH_SIMPLE_PROMPTMark Whitley2001-03-141-3/+3
| | | | | | | | | | | - 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.
* Update the lash shell (hopefully the last time...) so things likeEric Andersen2001-03-131-64/+116
| | | | | | echo "foo bar" and echo -n "foo\t\\\\\tbar" work as expected. Merge prompt printing work from Vladimir. -Erik
* A fix from Larry Doolittle for some nasty segfaults when sh.c tried to free aEric Andersen2001-03-121-3/+3
| | | | | | corrupted cmd pointer, and where it would truncate a command line at the first double space. -Erik
* When using wordexp, only try to use the expand commandEric Andersen2001-03-101-12/+14
| | | | | when something actually got expanded. Skip it otherwise. -Erik
* Fixed a couple more cases. $FOO/bar ${FOO} and such now workEric Andersen2001-03-091-4/+14
| | | | | | without wordexp. Of course for stuff like ${1:-foo} you still need wordexp for them to work. -Erik
* Allow wordexp to be used if availableEric Andersen2001-03-091-2/+2
|
* Urg. Remove the debug noiseEric Andersen2001-03-091-1/+0
|
* Ok, sh.c should be working now. Many thanks to Larry DoolittleEric Andersen2001-03-091-85/+83
| | | | | | for his timely help -- nearly all of the work in this patch is his. -Erik
* Fix sh.c for the glab case. I was messing things up forEric Andersen2001-03-091-5/+6
| | | | | single argument commands. It should now work as expected... -Erik
* A '.' is a legal seperator.Eric Andersen2001-03-091-2/+2
|
* Cleanup patch from LarryEric Andersen2001-03-091-2/+5
|
* Add in 'trim' routine. Fix up sh.c so it works when wordexpEric Andersen2001-03-081-11/+85
| | | | | is not available. -Erik
* Remember to delete un-expandable variables, and do a better job of expandingEric Andersen2001-03-081-6/+28
| | | | | | shell-specific things in case the wordexp implementation is broken (ie. the stubbed out wordexp in uClibc). -Erik