summaryrefslogtreecommitdiffstats
path: root/tests/exp3.sub
blob: 212d579abce5480a7f8e65d232b607c170b59e8f (plain)
1
2
3
4
5
6
7
IFS=:

case A in ([[:graph:]]) echo graph;; *) echo non-graph;; esac
[[ A == [[:graph:]] ]] && echo yes || echo no

IFS="~"; read a b <<< a~q; echo $a
IFS=':'; read a b <<< a:q; echo $a