summaryrefslogtreecommitdiff
path: root/tests/builtins2.sub
blob: e4cb32ae6bc3145e0ae91cc66ce757db1532df15 (plain)
1
2
3
4
5
6
7
8
9
10
# test behavior of shopt xpg_echo

USG_ECHO=off
shopt -q xpg_echo && USG_ECHO=on

shopt -u xpg_echo
echo 'a\n\n\nb'

shopt -s xpg_echo
echo 'a\n\n\nb'