← Commit list

adc0e2089

Denys Vlasenko
Denys Vlasenko
2010-05-17
FAILED Duration: 32s

Subject

hush: update bash compat todo comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/hush.c+10 -7
@@ -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)