Conversation

One interesting property of shell (bash, etc.) is that all heap objects are uniquely owned and never borrowed, so there's no GC necessary to achieve memory safety.
3
63
Replying to and
Most people don't know about namerefs so they would use eval which is obviously a lot scarier. It hardly matters in a language where simply writing $var is arbitrary code execution running the variable as a command. Still, you CAN have references including dangling ones in Bash.
1