hush: update bash compat todo comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
82731b4b7a
commit
adc0e20892
17
shell/hush.c
17
shell/hush.c
@ -39,21 +39,24 @@
|
|||||||
*
|
*
|
||||||
* POSIX syntax not implemented:
|
* POSIX syntax not implemented:
|
||||||
* aliases
|
* aliases
|
||||||
* <(list) and >(list) Process Substitution
|
|
||||||
* Tilde Expansion
|
* Tilde Expansion
|
||||||
*
|
*
|
||||||
* Bash stuff (optionally enabled):
|
* Bash compat TODO:
|
||||||
* &> and >& redirection of stdout+stderr
|
* redirection of stdout+stderr: &> and >&
|
||||||
* Brace Expansion
|
* brace expansion: one/{two,three,four}
|
||||||
* reserved words: [[ ]] function select
|
* reserved words: function select
|
||||||
* substrings ${var:1:5}
|
* advanced test: [[ ]]
|
||||||
|
* substrings: ${var:1:5}
|
||||||
|
* process substitution: <(list) and >(list)
|
||||||
|
* =~: regex operator
|
||||||
* let EXPR [EXPR...]
|
* let EXPR [EXPR...]
|
||||||
* Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION)
|
* Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION)
|
||||||
* If the last arg evaluates to 0, let returns 1; 0 otherwise.
|
* 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)
|
* NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used)
|
||||||
* ((EXPR))
|
* ((EXPR))
|
||||||
* The EXPR is evaluated according to ARITHMETIC EVALUATION.
|
* 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:
|
* TODOs:
|
||||||
* grep for "TODO" and fix (some of them are easy)
|
* grep for "TODO" and fix (some of them are easy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user