Hi bash fans,
There is such a thing as too terse. Can somebody explain what this
cryptic snippet means? I get the "substitute part; it's the
"error,exit" part that has me confounded.
+------------------+--------------------+---------------+--------------+
| | parameter | parameter | parameter |
| | Set and Not Null | Set But Null | Unset |
+------------------+--------------------+---------------+--------------+
|${parameter:?word}|substitute parameter|error,exit |error,exit |
|${parameter?word} |substitute parameter|substitute null|error,exit |
+------------------+--------------------+---------------+--------------+
TIA,
Mike Wright