busybox/shell/hush_test/hush-quoting/squote_in_varexp2.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
90 B
Plaintext
Executable File

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