diff options
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shell/hush.c b/shell/hush.c index 98ba96e0c..3afb70cb0 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -79,6 +79,18 @@ | |||
79 | * Some builtins mandated by standards: | 79 | * Some builtins mandated by standards: |
80 | * newgrp [GRP]: not a builtin in bash but a suid binary | 80 | * newgrp [GRP]: not a builtin in bash but a suid binary |
81 | * which spawns a new shell with new group ID | 81 | * which spawns a new shell with new group ID |
82 | * | ||
83 | * Status of [[ support: | ||
84 | * [[ args ]] are CMD_SINGLEWORD_NOGLOB: | ||
85 | * v='a b'; [[ $v = 'a b' ]]; echo 0:$? | ||
86 | * [[ /bin/* ]]; echo 0:$? | ||
87 | * TODO: | ||
88 | * &&/|| are AND/OR ops, -a/-o are not | ||
89 | * quoting needs to be considered (-f is an operator, "-f" and ""-f are not; etc) | ||
90 | * = is glob match operator, not equality operator: STR = GLOB | ||
91 | * (in GLOB, quoting is significant on char-by-char basis: a*cd"*") | ||
92 | * == same as = | ||
93 | * add =~ regex match operator: STR =~ REGEX | ||
82 | */ | 94 | */ |
83 | //config:config HUSH | 95 | //config:config HUSH |
84 | //config: bool "hush (64 kb)" | 96 | //config: bool "hush (64 kb)" |