-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> Substitutes environment variables with their value in shell format strings.
> Variables to be replaced should be in either `${var}` or `$var` format.
Replace environment variables in stdin and output to stdout:
echo '{$HOME}' | envsubst
Replace environment variables in an input file and output to stdout:
envsubst < {path/to/input_file}
Replace environment variables in an input file and output to a file:
envsubst < {path/to/input_file} > {path/to/output_file}
Replace environment variables in an input file from a space-separated list:
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).
-- Response ended
-- Page fetched on Tue May 21 06:21:58 2024