aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-10-03 17:22:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-10-03 17:22:52 +0200
commitbbecd74d5a9413412b59dafc2f200a181f960b20 (patch)
treec60bbc3d255b3c2dcaf48d94208f50167d96d307
parent957f79f4714fbb0ee7d653d98609054f2a8d7545 (diff)
downloadbusybox-w32-bbecd74d5a9413412b59dafc2f200a181f960b20.tar.gz
busybox-w32-bbecd74d5a9413412b59dafc2f200a181f960b20.tar.bz2
busybox-w32-bbecd74d5a9413412b59dafc2f200a181f960b20.zip
hush: remove brace expansion from TODO list in comments. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/hush.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 67a6d87f5..1f907e1ba 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -8,6 +8,8 @@
8 * Copyright (C) 2000,2001 Larry Doolittle <larry@doolittle.boa.org> 8 * Copyright (C) 2000,2001 Larry Doolittle <larry@doolittle.boa.org>
9 * Copyright (C) 2008,2009 Denys Vlasenko <vda.linux@googlemail.com> 9 * Copyright (C) 2008,2009 Denys Vlasenko <vda.linux@googlemail.com>
10 * 10 *
11 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
12 *
11 * Credits: 13 * Credits:
12 * The parser routines proper are all original material, first 14 * The parser routines proper are all original material, first
13 * written Dec 2000 and Jan 2001 by Larry Doolittle. The 15 * written Dec 2000 and Jan 2001 by Larry Doolittle. The
@@ -50,7 +52,6 @@
50 * 52 *
51 * Bash compat TODO: 53 * Bash compat TODO:
52 * redirection of stdout+stderr: &> and >& 54 * redirection of stdout+stderr: &> and >&
53 * brace expansion: one/{two,three,four}
54 * reserved words: function select 55 * reserved words: function select
55 * advanced test: [[ ]] 56 * advanced test: [[ ]]
56 * process substitution: <(list) and >(list) 57 * process substitution: <(list) and >(list)
@@ -63,7 +64,9 @@
63 * The EXPR is evaluated according to ARITHMETIC EVALUATION. 64 * The EXPR is evaluated according to ARITHMETIC EVALUATION.
64 * This is exactly equivalent to let "EXPR". 65 * This is exactly equivalent to let "EXPR".
65 * $[EXPR]: synonym for $((EXPR)) 66 * $[EXPR]: synonym for $((EXPR))
66 * export builtin should be special, its arguments are assignments 67 *
68 * Won't do:
69 * In bash, export builtin is special, its arguments are assignments
67 * and therefore expansion of them should be "one-word" expansion: 70 * and therefore expansion of them should be "one-word" expansion:
68 * $ export i=`echo 'a b'` # export has one arg: "i=a b" 71 * $ export i=`echo 'a b'` # export has one arg: "i=a b"
69 * compare with: 72 * compare with:
@@ -77,8 +80,6 @@
77 * aaa bbb 80 * aaa bbb
78 * $ "export" i=`echo 'aaa bbb'`; echo "$i" 81 * $ "export" i=`echo 'aaa bbb'`; echo "$i"
79 * aaa 82 * aaa
80 *
81 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
82 */ 83 */
83#include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */ 84#include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */
84#include <malloc.h> /* for malloc_trim */ 85#include <malloc.h> /* for malloc_trim */