2 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
4 # Test Shell support: backslashed double-quotes inside single-quotes
7 cat <<\EOF > xg-sh-3.sh
8 echo `gettext 'abc\"def'`
9 echo `gettext $'\'\"\a\b\e\f\n\r\t\v\x61\x3a\x3A\075\\'`
12 : ${XGETTEXT=xgettext}
13 ${XGETTEXT} --omit-header --no-location -d xg-sh-3.tmp xg-sh-3.sh || exit 1
14 LC_ALL=C tr -d '\r' < xg-sh-3.tmp.po > xg-sh-3.po || exit 1
16 cat <<\EOF > xg-sh-3.ok
27 ${DIFF} xg-sh-3.ok xg-sh-3.po