Files
lk/shell/eval.md
Malin Freeborn bca5337ac3 modify basic filestructure
It's unclear what's 'basic', so `basic/` notes have been mostly moved.
The remainder became `shell/`.
2026-04-20 02:42:41 +02:00

250 B

title, tags
title tags
eval
basics

Compose a statement for execution.

x='echo $y'
echo $x
y=dragon
eval "$x"

The results remain in the current shell, unlike sub-shells.

b=basilisk
sh -c 'echo $b'
eval "g=goblin"
echo $g