💾 Archived View for rawtext.club › ~s0kx › pure-sh-bible › variables.gmi captured on 2022-06-11 at 20:45:34. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

Variables

Name and access a variable based on another variable

$ var="world"
$ eval "hello_$var=value"
$ eval printf '%s\n' "\$hello_$var"
value