mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00: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 \'}
|
|
|