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
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx