eval

Execute arguments as a single command in the current shell and return its result. More information: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#eval.

eval "echo foo"

eval "foo=bar"