diff options
Diffstat (limited to 'shell/hush_test/hush-vars/var_posix1.tests')
-rwxr-xr-x | shell/hush_test/hush-vars/var_posix1.tests | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/shell/hush_test/hush-vars/var_posix1.tests b/shell/hush_test/hush-vars/var_posix1.tests index d3205b1..0ce531d 100755 --- a/shell/hush_test/hush-vars/var_posix1.tests +++ b/shell/hush_test/hush-vars/var_posix1.tests @@ -1,24 +1,24 @@ unset var -echo ${var#} -echo ${var##} -echo ${var#*} -echo ${var##*} -echo ${var%} -echo ${var%%} -echo ${var%*} -echo ${var%%*} +echo Empty:${var#} +echo Empty:${var##} +echo Empty:${var#*} +echo Empty:${var##*} +echo Empty:${var%} +echo Empty:${var%%} +echo Empty:${var%*} +echo Empty:${var%%*} var= -echo ${var#} -echo ${var##} -echo ${var#*} -echo ${var##*} -echo ${var%} -echo ${var%%} -echo ${var%*} -echo ${var%%*} +echo Empty:${var#} +echo Empty:${var##} +echo Empty:${var#*} +echo Empty:${var##*} +echo Empty:${var%} +echo Empty:${var%%} +echo Empty:${var%*} +echo Empty:${var%%*} var=ababcdcd @@ -29,7 +29,7 @@ echo ${var##a*b} echo ${var#?} echo ${var##?} echo ${var#*} -echo ${var##*} +echo Empty:${var##*} echo ${var%cd} echo ${var%%cd} @@ -38,6 +38,6 @@ echo ${var%%c*d} echo ${var%?} echo ${var%%?} echo ${var%*} -echo ${var%%*} +echo Empty:${var%%*} echo end |