(gettext.info)sh-format


Next: python-format Prev: objc-format Up: Translators for other Languages
Enter node , (file) or (file)node

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.


automatically generated by info2www version 1.2.2.9