aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 15:46:24 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-21 15:46:24 +0200
commit349ef96bb5eae3c487884dd0e88c84a6ba0a1efa (patch)
treeafcf42f419601fae2f35862c064a9f160117a366
parent214b8ca3dcfd28d4aa2bb58cd89ac941ab23d6d0 (diff)
downloadbusybox-w32-349ef96bb5eae3c487884dd0e88c84a6ba0a1efa.tar.gz
busybox-w32-349ef96bb5eae3c487884dd0e88c84a6ba0a1efa.tar.bz2
busybox-w32-349ef96bb5eae3c487884dd0e88c84a6ba0a1efa.zip
hush: reorganized TODO comment at top
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/hush.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/shell/hush.c b/shell/hush.c
index c713ce808..1937d24e4 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -37,9 +37,14 @@
37 * handle the recursion implicit in the various substitutions, especially 37 * handle the recursion implicit in the various substitutions, especially
38 * across continuation lines. 38 * across continuation lines.
39 * 39 *
40 * POSIX syntax not implemented: 40 * TODOs:
41 * grep for "TODO" and fix (some of them are easy)
42 * special variables (done: PWD, PPID, RANDOM)
43 * tilde expansion
41 * aliases 44 * aliases
42 * Tilde Expansion 45 * follow IFS rules more precisely, including update semantics
46 * builtins mandated by standards we don't support:
47 * [un]alias, command, fc, getopts, newgrp, readonly, times
43 * 48 *
44 * Bash compat TODO: 49 * Bash compat TODO:
45 * redirection of stdout+stderr: &> and >& 50 * redirection of stdout+stderr: &> and >&
@@ -49,20 +54,13 @@
49 * process substitution: <(list) and >(list) 54 * process substitution: <(list) and >(list)
50 * =~: regex operator 55 * =~: regex operator
51 * let EXPR [EXPR...] 56 * let EXPR [EXPR...]
52 * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION) 57 * Each EXPR is an arithmetic expression (ARITHMETIC EVALUATION)
53 * If the last arg evaluates to 0, let returns 1; 0 otherwise. 58 * If the last arg evaluates to 0, let returns 1; 0 otherwise.
54 * NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used) 59 * NB: let `echo 'a=a + 1'` - error (IOW: multi-word expansion is used)
55 * ((EXPR)) 60 * ((EXPR))
56 * The EXPR is evaluated according to ARITHMETIC EVALUATION. 61 * The EXPR is evaluated according to ARITHMETIC EVALUATION.
57 * This is exactly equivalent to let "EXPR". 62 * This is exactly equivalent to let "EXPR".
58 * $[EXPR]: synonym for $((EXPR)) 63 * $[EXPR]: synonym for $((EXPR))
59 *
60 * TODOs:
61 * grep for "TODO" and fix (some of them are easy)
62 * special variables (done: PWD, PPID, RANDOM)
63 * follow IFS rules more precisely, including update semantics
64 * builtins mandated by standards we don't support:
65 * [un]alias, command, fc, getopts, newgrp, readonly, times
66 * export builtin should be special, its arguments are assignments 64 * export builtin should be special, its arguments are assignments
67 * and therefore expansion of them should be "one-word" expansion: 65 * and therefore expansion of them should be "one-word" expansion:
68 * $ export i=`echo 'a b'` # export has one arg: "i=a b" 66 * $ export i=`echo 'a b'` # export has one arg: "i=a b"