DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

(gettext.info.gz) sh-format

Info Catalog (gettext.info.gz) objc-format (gettext.info.gz) Translators for other Languages (gettext.info.gz) python-format
 
 15.3.3 Shell Format Strings
 ---------------------------
 
 Shell format strings, as supported by GNU gettext and the `envsubst'
 program, are strings with references to shell variables in the form
 `$VARIABLE' or `${VARIABLE}'.  References of the form
 `${VARIABLE-DEFAULT}', `${VARIABLE:-DEFAULT}', `${VARIABLE=DEFAULT}',
 `${VARIABLE:=DEFAULT}', `${VARIABLE+REPLACEMENT}',
 `${VARIABLE:+REPLACEMENT}', `${VARIABLE?IGNORED}',
 `${VARIABLE:?IGNORED}', that would be valid inside shell scripts, are
 not supported.  The VARIABLE names must consist solely of alphanumeric
 or underscore ASCII characters, not start with a digit and be nonempty;
 otherwise such a variable reference is ignored.
 
Info Catalog (gettext.info.gz) objc-format (gettext.info.gz) Translators for other Languages (gettext.info.gz) python-format
automatically generated byinfo2html