envsubst

Substitutes environment variables with their value in shell format strings.
Variables to be replaced should be in either ${var} or $var format.

=> More information.

echo '{$HOME}' | envsubst
envsubst < {path/to/input_file}
envsubst < {path/to/input_file} > {path/to/output_file}
envsubst '{$USER $SHELL $HOME}' < {path/to/input_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

=> CC-BY

Proxy Information
Original URL
gemini://freeshell.de/tldr/envsubst.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
103.54994 milliseconds
Gemini-to-HTML Time
0.366924 milliseconds

This content has been proxied by September (ba2dc).