summaryrefslogtreecommitdiffstats
path: root/research
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-26 18:07:57 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-26 18:07:57 (EST)
commitac0e97f07fe7de19984d143a14b8916a2d2d4831 (patch)
tree2091c8b324e8884b8dba86b266e51be65f2c5081 /research
parent011569d96cbadc3ee925187f39418dbc52f2f12f (diff)
downloadeggshell-ac0e97f07fe7de19984d143a14b8916a2d2d4831.zip
eggshell-ac0e97f07fe7de19984d143a14b8916a2d2d4831.tar.gz
eggshell-ac0e97f07fe7de19984d143a14b8916a2d2d4831.tar.bz2
research: Lose an eval
Diffstat (limited to 'research')
-rw-r--r--research/research5.sh8
1 files changed, 4 insertions, 4 deletions
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
################################################################################