hush: reorganized TODO comment at top
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
214b8ca3dc
commit
349ef96bb5
26
shell/hush.c
26
shell/hush.c
@ -37,9 +37,14 @@
|
|||||||
* handle the recursion implicit in the various substitutions, especially
|
* handle the recursion implicit in the various substitutions, especially
|
||||||
* across continuation lines.
|
* across continuation lines.
|
||||||
*
|
*
|
||||||
* POSIX syntax not implemented:
|
* TODOs:
|
||||||
|
* grep for "TODO" and fix (some of them are easy)
|
||||||
|
* special variables (done: PWD, PPID, RANDOM)
|
||||||
|
* tilde expansion
|
||||||
* aliases
|
* aliases
|
||||||
* Tilde Expansion
|
* follow IFS rules more precisely, including update semantics
|
||||||
|
* builtins mandated by standards we don't support:
|
||||||
|
* [un]alias, command, fc, getopts, newgrp, readonly, times
|
||||||
*
|
*
|
||||||
* Bash compat TODO:
|
* Bash compat TODO:
|
||||||
* redirection of stdout+stderr: &> and >&
|
* redirection of stdout+stderr: &> and >&
|
||||||
@ -49,20 +54,13 @@
|
|||||||
* process substitution: <(list) and >(list)
|
* process substitution: <(list) and >(list)
|
||||||
* =~: regex operator
|
* =~: 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 "EXPR".
|
* This is exactly equivalent to let "EXPR".
|
||||||
* $[EXPR]: synonym for $((EXPR))
|
* $[EXPR]: synonym for $((EXPR))
|
||||||
*
|
|
||||||
* TODOs:
|
|
||||||
* grep for "TODO" and fix (some of them are easy)
|
|
||||||
* special variables (done: PWD, PPID, RANDOM)
|
|
||||||
* follow IFS rules more precisely, including update semantics
|
|
||||||
* builtins mandated by standards we don't support:
|
|
||||||
* [un]alias, command, fc, getopts, newgrp, readonly, times
|
|
||||||
* export builtin should be special, its arguments are assignments
|
* export builtin should be special, its arguments are assignments
|
||||||
* and therefore expansion of them should be "one-word" expansion:
|
* and therefore expansion of them should be "one-word" expansion:
|
||||||
* $ export i=`echo 'a b'` # export has one arg: "i=a b"
|
* $ export i=`echo 'a b'` # export has one arg: "i=a b"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user