From e1b17fe9cfbb0d188d5677f9ca5b9a1de319b00c Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 13 Jun 2024 14:41:19 -0700 Subject: [PATCH] Document shell expanded string defaults (#2153) --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 27e0ba5..41adab6 100644 --- a/README.md +++ b/README.md @@ -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 |