Munge non-portable characters for shell output
Munge non-portable characters for shell output

Shell environment variables have a limited set of allowed portable
chars: [A-Za-z0-9_]

Doing: "eval $(elements get -f shell)" can result in errors if
element keys contain dashes, colons, or the like. The next best
thing to deleting these chars is to munge them all to underscore.
It's lossy but retains the relative character lengths.

erichs/elements,jtopjian/elements