diff options
author | Denys Vlasenko | 2010-05-17 18:56:58 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-17 18:56:58 +0200 |
commit | adc0e20892d55b8c762c6d259d3c87a100aec14d (patch) | |
tree | f9552887a1e6a5671bef8e56af5f21cea57567ac /shell | |
parent | 82731b4b7a5634bdee52d98b1a7686e18a861ebc (diff) | |
download | busybox-adc0e20892d55b8c762c6d259d3c87a100aec14d.zip busybox-adc0e20892d55b8c762c6d259d3c87a100aec14d.tar.gz |
hush: update bash compat todo comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/shell/hush.c b/shell/hush.c index a88fa05..e6c083f 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -39,21 +39,24 @@ * * POSIX syntax not implemented: * aliases - * <(list) and >(list) Process Substitution * Tilde Expansion * - * Bash stuff (optionally enabled): - * &> and >& redirection of stdout+stderr - * Brace Expansion - * reserved words: [[ ]] function select - * substrings ${var:1:5} + * Bash compat TODO: + * redirection of stdout+stderr: &> and >& + * brace expansion: one/{two,three,four} + * reserved words: function select + * advanced test: [[ ]] + * substrings: ${var:1:5} + * process substitution: <(list) and >(list) + * =~: regex operator * let EXPR [EXPR...] * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) * If the last arg evaluates to 0, let returns 1; 0 otherwise. * NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used) * ((EXPR)) * The EXPR is evaluated according to ARITHMETIC EVALUATION. - * This is exactly equivalent to let "expression". + * This is exactly equivalent to let "EXPR". + * $[EXPR]: synonym for $((EXPR)) * * TODOs: * grep for "TODO" and fix (some of them are easy) |