From ac0e97f07fe7de19984d143a14b8916a2d2d4831 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 26 Feb 2016 18:07:57 -0500 Subject: research: Lose an eval --- (limited to 'research') diff --git a/research/research5.sh b/research/research5.sh index 49d8548..90e475f 100644 --- a/research/research5.sh +++ b/research/research5.sh @@ -57,8 +57,8 @@ __fn_ctxsw() ${__prev_tu});; ?*) # Set static variables and function for the current TU. - eval "$(eval printf '%s' "\"$(eval printf '%s' \ - "'\${__${__fn_tu}_static_var_vals}'")\"")" + eval "$(eval "printf '%s ' \ + \${__${__fn_tu}_static_var_vals}")" for __fn in $(eval printf '%s' \ "\"\${__${__fn_tu}_static_fns}\""); do eval "${__fn%:*}() { ${__fn#*:}; }" @@ -191,7 +191,7 @@ static() EOF(){ :; } -#: <<'EOF' +: <<'EOF' ################################################################################ # Stack trace test ################################################################################ @@ -255,7 +255,7 @@ __tu_end bar EOF -#: <<'EOF' +: <<'EOF' ################################################################################ # TU 0 ################################################################################ -- cgit v0.9.1