builtins2.sub   [plain text]


# 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'