pub fn expand_env_ref(value: &str, env: &HashMap<String, String>) -> String
Expand ${VAR} references in value against env. Unknown variables expand to the empty string (POSIX-shell semantics).
${VAR}
value
env