hush: fix a='a\\'; echo "${a%\\\\}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
4
shell/ash_test/ash-quoting/squote_in_varexp1.tests
Executable file
4
shell/ash_test/ash-quoting/squote_in_varexp1.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