From adc0e20892d55b8c762c6d259d3c87a100aec14d Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 May 2010 18:56:58 +0200 Subject: [PATCH] hush: update bash compat todo comment Signed-off-by: Denys Vlasenko --- shell/hush.c | 17 ++++++++++------- 1 file 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 @@ * * 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) -- 2.25.1