diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-17 18:56:58 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-17 18:56:58 +0200 |
| commit | adc0e20892d55b8c762c6d259d3c87a100aec14d (patch) | |
| tree | f9552887a1e6a5671bef8e56af5f21cea57567ac /shell | |
| parent | 82731b4b7a5634bdee52d98b1a7686e18a861ebc (diff) | |
| download | busybox-w32-adc0e20892d55b8c762c6d259d3c87a100aec14d.tar.gz busybox-w32-adc0e20892d55b8c762c6d259d3c87a100aec14d.tar.bz2 busybox-w32-adc0e20892d55b8c762c6d259d3c87a100aec14d.zip | |
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 a88fa055b..e6c083f55 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
| @@ -39,21 +39,24 @@ | |||
| 39 | * | 39 | * |
| 40 | * POSIX syntax not implemented: | 40 | * POSIX syntax not implemented: |
| 41 | * aliases | 41 | * aliases |
| 42 | * <(list) and >(list) Process Substitution | ||
| 43 | * Tilde Expansion | 42 | * Tilde Expansion |
| 44 | * | 43 | * |
| 45 | * Bash stuff (optionally enabled): | 44 | * Bash compat TODO: |
| 46 | * &> and >& redirection of stdout+stderr | 45 | * redirection of stdout+stderr: &> and >& |
| 47 | * Brace Expansion | 46 | * brace expansion: one/{two,three,four} |
| 48 | * reserved words: [[ ]] function select | 47 | * reserved words: function select |
| 49 | * substrings ${var:1:5} | 48 | * advanced test: [[ ]] |
| 49 | * substrings: ${var:1:5} | ||
| 50 | * process substitution: <(list) and >(list) | ||
| 51 | * =~: regex operator | ||
| 50 | * let EXPR [EXPR...] | 52 | * let EXPR [EXPR...] |
| 51 | * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) | 53 | * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) |
| 52 | * If the last arg evaluates to 0, let returns 1; 0 otherwise. | 54 | * If the last arg evaluates to 0, let returns 1; 0 otherwise. |
| 53 | * NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used) | 55 | * NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used) |
| 54 | * ((EXPR)) | 56 | * ((EXPR)) |
| 55 | * The EXPR is evaluated according to ARITHMETIC EVALUATION. | 57 | * The EXPR is evaluated according to ARITHMETIC EVALUATION. |
| 56 | * This is exactly equivalent to let "expression". | 58 | * This is exactly equivalent to let "EXPR". |
| 59 | * $[EXPR]: synonym for $((EXPR)) | ||
| 57 | * | 60 | * |
| 58 | * TODOs: | 61 | * TODOs: |
| 59 | * grep for "TODO" and fix (some of them are easy) | 62 | * grep for "TODO" and fix (some of them are easy) |
