diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-08-01 17:21:35 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-08-01 17:21:35 +0000 |
commit | dcfdcb7f829849a4b6d14b162cfab8e7c381fd2f (patch) | |
tree | 0ba0d2096b4305465ddea8532a5931cb4c02b343 /README | |
parent | 035a6d831571fa8b1d2c4b98ce5712b410d319e6 (diff) | |
download | busybox-w32-dcfdcb7f829849a4b6d14b162cfab8e7c381fd2f.tar.gz busybox-w32-dcfdcb7f829849a4b6d14b162cfab8e7c381fd2f.tar.bz2 busybox-w32-dcfdcb7f829849a4b6d14b162cfab8e7c381fd2f.zip |
Allow multiple shells to be enabled.
git-svn-id: svn://busybox.net/trunk/busybox@3177 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'README')
-rw-r--r-- | README | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -51,6 +51,38 @@ Supported kernels: | |||
51 | 51 | ||
52 | ---------------- | 52 | ---------------- |
53 | 53 | ||
54 | Shells: | ||
55 | |||
56 | lash is the very smallest shell (adds just 10k) and it is quite usable as | ||
57 | a command prompt, but it is not suitable for any but the most trivial | ||
58 | scripting (such as an initrd that calls insmod a few times) since it does | ||
59 | not understand Bourne shell grammer. It does handle pipes, redirects, and | ||
60 | job control though. Adding in command editing makes it very nice | ||
61 | lightweight command prompt. | ||
62 | |||
63 | hush is also quite small (just 18k) and it has very complete Bourne shell | ||
64 | grammer. It handles if/then/else/fi just fine, but doesn't handle loops | ||
65 | like for/do/done or case/esac and such. It also currently has a problem | ||
66 | with job control. | ||
67 | |||
68 | msh: The minix shell (adds just 30k) is quite complete and handles things | ||
69 | like for/do/done, case/esac and all the things you expect a Bourne shell to | ||
70 | do. It is not always pedantically correct about Bourne shell grammer (try | ||
71 | running the shell testscript "tests/sh.testcases" on it and compare vs bash) | ||
72 | but for most things it works quite well. It also uses only vfork, so it can | ||
73 | be used on uClinux systems. This was only recently added, so there is still | ||
74 | room to shrink it further... | ||
75 | |||
76 | ash: This adds about 60k in the default configuration and is the most | ||
77 | complete and most pedantically correct shell included with busybox. This | ||
78 | shell was also recently added, and several people (mainly Vladimir and Erik) | ||
79 | have been working on it. There are a number of configurable things at the | ||
80 | top of ash.c as well, so check those out if you want to tweak things. The | ||
81 | Posix math support is currently disabled (that bit of code was horrible) but | ||
82 | will be restored for the next BusyBox release. | ||
83 | |||
84 | ---------------- | ||
85 | |||
54 | Getting help: | 86 | Getting help: |
55 | 87 | ||
56 | When you find you need help, you can check out the BusyBox mailing list | 88 | When you find you need help, you can check out the BusyBox mailing list |