facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
31 lines
600 B
Bash
Executable File
31 lines
600 B
Bash
Executable File
#!/bin/sh
|
|
. "${srcdir=.}/init.sh"; path_prepend_ . ../src
|
|
|
|
# Test Shell support: backslashed double-quotes inside single-quotes
|
|
# and ANSI-C quoting.
|
|
|
|
cat <<\EOF > xg-sh-3.sh
|
|
echo `gettext 'abc\"def'`
|
|
echo `gettext $'\'\"\a\b\e\f\n\r\t\v\x61\x3a\x3A\075\\'`
|
|
EOF
|
|
|
|
: ${XGETTEXT=xgettext}
|
|
${XGETTEXT} --omit-header --no-location -d xg-sh-3.tmp xg-sh-3.sh || Exit 1
|
|
LC_ALL=C tr -d '\r' < xg-sh-3.tmp.po > xg-sh-3.po || Exit 1
|
|
|
|
cat <<\EOF > xg-sh-3.ok
|
|
msgid "abc\\\"def"
|
|
msgstr ""
|
|
|
|
msgid ""
|
|
"'\"\a\b\f\n"
|
|
"\r\t\va::=\\"
|
|
msgstr ""
|
|
EOF
|
|
|
|
: ${DIFF=diff}
|
|
${DIFF} xg-sh-3.ok xg-sh-3.po
|
|
result=$?
|
|
|
|
exit $result
|