Is there a way to assign arbitrary values to dynamically named variables in pure shell (i.e. sh
, not bash
) without using eval
?
I would like to know if there was a way to avoid using eval
as it can allow for arbitrary code execution.
let
seems only to work only for numerical values.