Document shell expanded string defaults (#2153)

This commit is contained in:
Casey Rodarmor 2024-06-13 14:41:19 -07:00 committed by GitHub
parent 4b5ba8f6f5
commit e1b17fe9cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1314,6 +1314,7 @@ foobar := x'~/$FOO/${BAR}'
|------|-------------|
| `$VAR` | value of environment variable `VAR` |
| `${VAR}` | value of environment variable `VAR` |
| `${VAR:-DEFAULT}` | value of environment variable `VAR`, or `DEFAULT` if `VAR` is not set |
| Leading `~` | path to current user's home directory |
| Leading `~USER` | path to `USER`'s home directory |