From: Denys Vlasenko Date: Sun, 3 Oct 2010 15:22:52 +0000 (+0200) Subject: hush: remove brace expansion from TODO list in comments. No code changes. X-Git-Tag: 1_18_0~176 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bbecd74d5a9413412b59dafc2f200a181f960b20;p=oweals%2Fbusybox.git hush: remove brace expansion from TODO list in comments. No code changes. Signed-off-by: Denys Vlasenko --- 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 @@ * Copyright (C) 2000,2001 Larry Doolittle * Copyright (C) 2008,2009 Denys Vlasenko * + * Licensed under GPLv2 or later, see file LICENSE in this source tree. + * * Credits: * The parser routines proper are all original material, first * written Dec 2000 and Jan 2001 by Larry Doolittle. The @@ -50,7 +52,6 @@ * * Bash compat TODO: * redirection of stdout+stderr: &> and >& - * brace expansion: one/{two,three,four} * reserved words: function select * advanced test: [[ ]] * process substitution: <(list) and >(list) @@ -63,7 +64,9 @@ * The EXPR is evaluated according to ARITHMETIC EVALUATION. * This is exactly equivalent to let "EXPR". * $[EXPR]: synonym for $((EXPR)) - * export builtin should be special, its arguments are assignments + * + * Won't do: + * In bash, export builtin is special, its arguments are assignments * and therefore expansion of them should be "one-word" expansion: * $ export i=`echo 'a b'` # export has one arg: "i=a b" * compare with: @@ -77,8 +80,6 @@ * aaa bbb * $ "export" i=`echo 'aaa bbb'`; echo "$i" * aaa - * - * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ #include "busybox.h" /* for APPLET_IS_NOFORK/NOEXEC */ #include /* for malloc_trim */