diff options
Diffstat (limited to 'shell/Config.in')
-rw-r--r-- | shell/Config.in | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/shell/Config.in b/shell/Config.in index 9b3ce6483..6cc11ce80 100644 --- a/shell/Config.in +++ b/shell/Config.in | |||
@@ -159,16 +159,15 @@ config HUSH | |||
159 | bool "hush" | 159 | bool "hush" |
160 | default n | 160 | default n |
161 | help | 161 | help |
162 | hush is a very small shell (just 18k) and it has fairly complete | 162 | hush is a small shell (22k). It handles the normal flow control |
163 | Bourne shell grammar. It even handles all the normal flow control | 163 | constructs such as if/then/elif/else/fi, for/in/do/done, while loops, |
164 | options such as if/then/elif/else/fi, for/in/do/done, while loops, | 164 | case/esac. Redirections, here documents, $((arithmetic)) |
165 | case/esac. | 165 | and functions are supported. |
166 | 166 | ||
167 | It will compile and work on no-mmu systems. | 167 | It will compile and work on no-mmu systems. |
168 | 168 | ||
169 | It does not handle select, functions, here documents ( << | 169 | It does not handle select, aliases, brace expansion, |
170 | word ), aliases, brace expansion, tilde expansion, | 170 | tilde expansion, &>file and >&file redirection of stdout+stderr. |
171 | &> and >& redirection of stdout+stderr, etc. | ||
172 | 171 | ||
173 | config HUSH_HELP | 172 | config HUSH_HELP |
174 | bool "help builtin" | 173 | bool "help builtin" |
@@ -226,6 +225,13 @@ config HUSH_CASE | |||
226 | help | 225 | help |
227 | Enable case ... esac statement in hush. +400 bytes. | 226 | Enable case ... esac statement in hush. +400 bytes. |
228 | 227 | ||
228 | config HUSH_FUNCTIONS | ||
229 | bool "Support funcname() { commands; } syntax" | ||
230 | default n | ||
231 | depends on HUSH | ||
232 | help | ||
233 | Enable support for shell functions in hush. +800 bytes. | ||
234 | |||
229 | config LASH | 235 | config LASH |
230 | bool "lash (deprecated: aliased to hush)" | 236 | bool "lash (deprecated: aliased to hush)" |
231 | default n | 237 | default n |
@@ -237,16 +243,17 @@ config MSH | |||
237 | bool "msh (deprecated: please use hush)" | 243 | bool "msh (deprecated: please use hush)" |
238 | default n | 244 | default n |
239 | help | 245 | help |
240 | The minix shell (adds just 30k) is quite complete and handles things | ||
241 | like for/do/done, case/esac and all the things you expect a Bourne | ||
242 | shell to do. It is not always pedantically correct about Bourne | ||
243 | shell grammar (try running the shell testscript "tests/sh.testcases" | ||
244 | on it and compare vs bash) but for most things it works quite well. | ||
245 | It uses only vfork, so it can be used on uClinux systems. | ||
246 | |||
247 | msh is deprecated and will be removed, please migrate to hush. | 246 | msh is deprecated and will be removed, please migrate to hush. |
248 | If there is a feature msh has but hush does not, please let us know. | 247 | If there is a feature msh has but hush does not, please let us know. |
249 | 248 | ||
249 | # The minix shell (adds just 30k) is quite complete and handles things | ||
250 | # like for/do/done, case/esac and all the things you expect a Bourne | ||
251 | # shell to do. It is not always pedantically correct about Bourne | ||
252 | # shell grammar (try running the shell testscript "tests/sh.testcases" | ||
253 | # on it and compare vs bash) but for most things it works quite well. | ||
254 | # It uses only vfork, so it can be used on uClinux systems. | ||
255 | |||
256 | |||
250 | comment "Bourne Shell Options" | 257 | comment "Bourne Shell Options" |
251 | depends on MSH || LASH || HUSH || ASH | 258 | depends on MSH || LASH || HUSH || ASH |
252 | 259 | ||