- ${var+blahblah}: if var is defined, 'blahblah' is substituted for the expression, else null is substituted
- ${var-blahblah}: if var is defined, it is itself substituted, else 'blahblah' is substituted
- ${var?blahblah}: if var is defined, it is substituted, else the function exists with 'blahblah' as an error message.
No comments:
Post a Comment