summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-vars/var_wordsplit_ifs3.tests
blob: 4aa65574a0525a95a45b04edda657a383c080ac8 (plain)
1
2
3
4
5
a="q w e r t y"
for v in ${a%y}; do echo Unquoted%:"<$v>"; done
for v in ${a#q}; do echo Unquoted#:"<$v>"; done
for v in "${a%y}"; do echo Quoted%:"<$v>"; done
for v in "${a#q}"; do echo Quoted#:"<$v>"; done