busybox/shell/ash_test/ash-quoting/squote_in_varexp1.tests
Denys Vlasenko d4802c6243 hush: fix a='a\\'; echo "${a%\\\\}"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-03-02 20:48:36 +01:00

5 lines
94 B
Plaintext
Executable File

x='\\\\'
printf Nothing:'%s\n' ${x#\\\\\\\\}
printf Nothing:'%s\n' "${x#\\\\\\\\}"
echo Ok:$?