testsuite: add some tests for ash
Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
417622cc2e
commit
523006798c
@ -0,0 +1 @@
|
||||
a_\_z_c
|
@ -0,0 +1,2 @@
|
||||
v="a\bc"
|
||||
echo ${v/\\b/_\\_\z_}
|
@ -0,0 +1 @@
|
||||
ax/yc
|
@ -0,0 +1,2 @@
|
||||
v="abc"
|
||||
echo ${v/b/x/y}
|
@ -0,0 +1 @@
|
||||
axcabc
|
@ -0,0 +1,2 @@
|
||||
v="abcabc"
|
||||
echo ${v/b/x}
|
@ -0,0 +1 @@
|
||||
axcaxc
|
@ -0,0 +1,2 @@
|
||||
v="abcabc"
|
||||
echo ${v//b/x}
|
@ -0,0 +1 @@
|
||||
axc
|
@ -0,0 +1,2 @@
|
||||
v="ab/c"
|
||||
echo ${v/b\//x}
|
Loading…
Reference in New Issue
Block a user