[git commit master] hush: update bash compat todo comment

Denys Vlasenko vda.linux at googlemail.com
Mon May 17 16:56:58 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=adc0e20892d55b8c762c6d259d3c87a100aec14d
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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)
-- 
1.6.3.3



More information about the busybox-cvs mailing list