]> git.ipfire.org Git - thirdparty/bash.git/blob - tests/exp3.sub
Bash-4.2 distribution sources and documentation
[thirdparty/bash.git] / tests / exp3.sub
1 IFS=:
2
3 case A in ([[:graph:]]) echo graph;; *) echo non-graph;; esac
4 [[ A == [[:graph:]] ]] && echo yes || echo no
5
6 IFS="~"; read a b <<< a~q; echo $a
7 IFS=':'; read a b <<< a:q; echo $a