mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
Ignore single-quoted backslash escape sequences in parameter expansions.
\' is not an escaped single quote in ${foo:-'word\'}.
closes: #17261
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 lines
38 B
Bash
5 lines
38 B
Bash
#!/bin/dash
|
|
|
|
echo ${foo:-'string \'}
|
|
|