Fun bash and possibly sh thing I found, to safely allow ~ expansion in an enviro...

@deech@mastodon.social

Fun bash and possibly sh thing I found, to safely allow ~ expansion in an environment variable you can do:
VAR=`eval echo $VAR`