[ Prev ] [ Index ] [ Next ]

Expansion

Created Sonntag 26 Januar 2020


Simple

echo $VAR


In text

echo file.${VAR_WITH_EXTENSION}


Default value

If the variable is empty the spcified default is used:

echo file.${VAR:-<default value>}