This question already has an answer here:
Given I have in a bash script
How can I get the environment variable value for $USER using ev?
Tried naively doing:
which results in bad substitution.
I'd expect to get back whatever the value of $USER is.