hush: fix a='a\\'; echo "${a%\\\\}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
4
shell/hush_test/hush-quoting/squote_in_varexp2.tests
Executable file
4
shell/hush_test/hush-quoting/squote_in_varexp2.tests
Executable file
@@ -0,0 +1,4 @@
|
||||
x='\\\\'
|
||||
printf Nothing:'%s\n' ${x#'\\\\'}
|
||||
printf Nothing:'%s\n' "${x#'\\\\'}"
|
||||
echo Ok:$?
|
||||
Reference in New Issue
Block a user