]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Prefer 'cat <<\EOF' to 'cat <<EOF' whenever possible.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Aug 2024 08:36:06 +0000 (10:36 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 16 Aug 2024 08:36:58 +0000 (10:36 +0200)
Rationale: Not interpreting $ and \ in the here documents is a better default
than interpreting them.

* gettext-tools/tests/*: Write 'cat <<\EOF' instead of 'cat <<EOF', when no
shell dollar-substitution and backslash-interpretation is needed.

257 files changed:
gettext-tools/tests/autopoint-2
gettext-tools/tests/format-c-3
gettext-tools/tests/format-c-4
gettext-tools/tests/format-c-5
gettext-tools/tests/gettext-1
gettext-tools/tests/intl-0
gettext-tools/tests/intl-1
gettext-tools/tests/intl-2
gettext-tools/tests/intl-3
gettext-tools/tests/intl-6
gettext-tools/tests/intl-7
gettext-tools/tests/intl-setlocale-1
gettext-tools/tests/intl-thread-2
gettext-tools/tests/lang-c
gettext-tools/tests/lang-c++
gettext-tools/tests/lang-c++20
gettext-tools/tests/lang-clisp
gettext-tools/tests/lang-csharp
gettext-tools/tests/lang-elisp
gettext-tools/tests/lang-gawk
gettext-tools/tests/lang-guile
gettext-tools/tests/lang-java
gettext-tools/tests/lang-javascript
gettext-tools/tests/lang-librep
gettext-tools/tests/lang-objc
gettext-tools/tests/lang-pascal
gettext-tools/tests/lang-perl-1
gettext-tools/tests/lang-perl-2
gettext-tools/tests/lang-php
gettext-tools/tests/lang-python-1
gettext-tools/tests/lang-python-2
gettext-tools/tests/lang-rst
gettext-tools/tests/lang-smalltalk
gettext-tools/tests/lang-tcl
gettext-tools/tests/lang-vala
gettext-tools/tests/lang-ycp
gettext-tools/tests/msgcat-1
gettext-tools/tests/msgcat-19
gettext-tools/tests/msgcat-20
gettext-tools/tests/msgcat-7
gettext-tools/tests/msgcmp-1
gettext-tools/tests/msgcmp-2
gettext-tools/tests/msgcmp-3
gettext-tools/tests/msgcomm-1
gettext-tools/tests/msgcomm-10
gettext-tools/tests/msgcomm-11
gettext-tools/tests/msgcomm-12
gettext-tools/tests/msgcomm-13
gettext-tools/tests/msgcomm-14
gettext-tools/tests/msgcomm-15
gettext-tools/tests/msgcomm-17
gettext-tools/tests/msgcomm-18
gettext-tools/tests/msgcomm-19
gettext-tools/tests/msgcomm-2
gettext-tools/tests/msgcomm-20
gettext-tools/tests/msgcomm-21
gettext-tools/tests/msgcomm-24
gettext-tools/tests/msgcomm-27
gettext-tools/tests/msgcomm-28
gettext-tools/tests/msgcomm-3
gettext-tools/tests/msgcomm-4
gettext-tools/tests/msgcomm-5
gettext-tools/tests/msgcomm-6
gettext-tools/tests/msgcomm-7
gettext-tools/tests/msgcomm-8
gettext-tools/tests/msgcomm-9
gettext-tools/tests/msgen-1
gettext-tools/tests/msgen-4
gettext-tools/tests/msgfmt-1
gettext-tools/tests/msgfmt-2
gettext-tools/tests/msgfmt-20
gettext-tools/tests/msgfmt-3
gettext-tools/tests/msgfmt-4
gettext-tools/tests/msgfmt-6
gettext-tools/tests/msgfmt-7
gettext-tools/tests/msgfmt-8
gettext-tools/tests/msgfmt-9
gettext-tools/tests/msgfmt-properties-1
gettext-tools/tests/msgmerge-1
gettext-tools/tests/msgmerge-10
gettext-tools/tests/msgmerge-11
gettext-tools/tests/msgmerge-12
gettext-tools/tests/msgmerge-13
gettext-tools/tests/msgmerge-16
gettext-tools/tests/msgmerge-2
gettext-tools/tests/msgmerge-25
gettext-tools/tests/msgmerge-26
gettext-tools/tests/msgmerge-29
gettext-tools/tests/msgmerge-3
gettext-tools/tests/msgmerge-4
gettext-tools/tests/msgmerge-5
gettext-tools/tests/msgmerge-6
gettext-tools/tests/msgmerge-7
gettext-tools/tests/msgmerge-8
gettext-tools/tests/msgmerge-9
gettext-tools/tests/msgmerge-compendium-1
gettext-tools/tests/msgmerge-compendium-2
gettext-tools/tests/msgmerge-compendium-3
gettext-tools/tests/msgmerge-compendium-4
gettext-tools/tests/msgmerge-properties-1
gettext-tools/tests/msgmerge-properties-2
gettext-tools/tests/msgmerge-update-1
gettext-tools/tests/msgmerge-update-2
gettext-tools/tests/msgmerge-update-3
gettext-tools/tests/msgmerge-update-4
gettext-tools/tests/msgunfmt-1
gettext-tools/tests/msgunfmt-2
gettext-tools/tests/msgunfmt-properties-1
gettext-tools/tests/plural-1
gettext-tools/tests/plural-2
gettext-tools/tests/xgettext-18
gettext-tools/tests/xgettext-2
gettext-tools/tests/xgettext-3
gettext-tools/tests/xgettext-4
gettext-tools/tests/xgettext-5
gettext-tools/tests/xgettext-8
gettext-tools/tests/xgettext-appdata-1
gettext-tools/tests/xgettext-awk-1
gettext-tools/tests/xgettext-awk-2
gettext-tools/tests/xgettext-awk-stackovfl-1
gettext-tools/tests/xgettext-awk-stackovfl-2
gettext-tools/tests/xgettext-c-2
gettext-tools/tests/xgettext-c-3
gettext-tools/tests/xgettext-c-4
gettext-tools/tests/xgettext-c-6
gettext-tools/tests/xgettext-c-comment-1
gettext-tools/tests/xgettext-c-comment-2
gettext-tools/tests/xgettext-c-comment-3
gettext-tools/tests/xgettext-c-comment-4
gettext-tools/tests/xgettext-c-comment-5
gettext-tools/tests/xgettext-c-ctxt-1
gettext-tools/tests/xgettext-c-ctxt-2
gettext-tools/tests/xgettext-c-ctxt-3
gettext-tools/tests/xgettext-c-format-1
gettext-tools/tests/xgettext-c-format-2
gettext-tools/tests/xgettext-c-format-3
gettext-tools/tests/xgettext-c-format-4
gettext-tools/tests/xgettext-c-format-6
gettext-tools/tests/xgettext-c-stackovfl-1
gettext-tools/tests/xgettext-c-stackovfl-2
gettext-tools/tests/xgettext-combine-1
gettext-tools/tests/xgettext-combine-2
gettext-tools/tests/xgettext-combine-3
gettext-tools/tests/xgettext-csharp-1
gettext-tools/tests/xgettext-csharp-4
gettext-tools/tests/xgettext-csharp-5
gettext-tools/tests/xgettext-csharp-6
gettext-tools/tests/xgettext-csharp-7
gettext-tools/tests/xgettext-csharp-stackovfl-1
gettext-tools/tests/xgettext-csharp-stackovfl-2
gettext-tools/tests/xgettext-csharp-stackovfl-3
gettext-tools/tests/xgettext-csharp-stackovfl-4
gettext-tools/tests/xgettext-elisp-1
gettext-tools/tests/xgettext-elisp-2
gettext-tools/tests/xgettext-elisp-stackovfl-1
gettext-tools/tests/xgettext-elisp-stackovfl-2
gettext-tools/tests/xgettext-glade-1
gettext-tools/tests/xgettext-glade-2
gettext-tools/tests/xgettext-glade-3
gettext-tools/tests/xgettext-glade-4
gettext-tools/tests/xgettext-glade-5
gettext-tools/tests/xgettext-glade-6
gettext-tools/tests/xgettext-glade-7
gettext-tools/tests/xgettext-gsettings-1
gettext-tools/tests/xgettext-java-1
gettext-tools/tests/xgettext-java-3
gettext-tools/tests/xgettext-java-4
gettext-tools/tests/xgettext-java-5
gettext-tools/tests/xgettext-java-6
gettext-tools/tests/xgettext-java-7
gettext-tools/tests/xgettext-java-stackovfl-1
gettext-tools/tests/xgettext-java-stackovfl-2
gettext-tools/tests/xgettext-java-stackovfl-3
gettext-tools/tests/xgettext-java-stackovfl-4
gettext-tools/tests/xgettext-javascript-stackovfl-1
gettext-tools/tests/xgettext-javascript-stackovfl-2
gettext-tools/tests/xgettext-javascript-stackovfl-3
gettext-tools/tests/xgettext-javascript-stackovfl-4
gettext-tools/tests/xgettext-javascript-stackovfl-5
gettext-tools/tests/xgettext-javascript-stackovfl-6
gettext-tools/tests/xgettext-javascript-stackovfl-7
gettext-tools/tests/xgettext-javascript-stackovfl-8
gettext-tools/tests/xgettext-librep-1
gettext-tools/tests/xgettext-librep-2
gettext-tools/tests/xgettext-librep-stackovfl-1
gettext-tools/tests/xgettext-librep-stackovfl-2
gettext-tools/tests/xgettext-lisp-1
gettext-tools/tests/xgettext-lisp-2
gettext-tools/tests/xgettext-lisp-3
gettext-tools/tests/xgettext-lisp-4
gettext-tools/tests/xgettext-lisp-5
gettext-tools/tests/xgettext-lisp-6
gettext-tools/tests/xgettext-lisp-stackovfl-1
gettext-tools/tests/xgettext-lisp-stackovfl-2
gettext-tools/tests/xgettext-lua-1
gettext-tools/tests/xgettext-lua-2
gettext-tools/tests/xgettext-lua-stackovfl-1
gettext-tools/tests/xgettext-lua-stackovfl-2
gettext-tools/tests/xgettext-lua-stackovfl-3
gettext-tools/tests/xgettext-lua-stackovfl-4
gettext-tools/tests/xgettext-objc-2
gettext-tools/tests/xgettext-perl-5
gettext-tools/tests/xgettext-perl-7
gettext-tools/tests/xgettext-perl-stackovfl-1
gettext-tools/tests/xgettext-perl-stackovfl-2
gettext-tools/tests/xgettext-perl-stackovfl-3
gettext-tools/tests/xgettext-perl-stackovfl-4
gettext-tools/tests/xgettext-php-1
gettext-tools/tests/xgettext-php-2
gettext-tools/tests/xgettext-php-3
gettext-tools/tests/xgettext-php-4
gettext-tools/tests/xgettext-php-stackovfl-1
gettext-tools/tests/xgettext-php-stackovfl-2
gettext-tools/tests/xgettext-php-stackovfl-3
gettext-tools/tests/xgettext-php-stackovfl-4
gettext-tools/tests/xgettext-po-1
gettext-tools/tests/xgettext-po-2
gettext-tools/tests/xgettext-properties-1
gettext-tools/tests/xgettext-python-2
gettext-tools/tests/xgettext-python-4
gettext-tools/tests/xgettext-python-6
gettext-tools/tests/xgettext-python-7
gettext-tools/tests/xgettext-python-stackovfl-1
gettext-tools/tests/xgettext-python-stackovfl-2
gettext-tools/tests/xgettext-python-stackovfl-3
gettext-tools/tests/xgettext-python-stackovfl-4
gettext-tools/tests/xgettext-scheme-1
gettext-tools/tests/xgettext-scheme-2
gettext-tools/tests/xgettext-scheme-3
gettext-tools/tests/xgettext-scheme-4
gettext-tools/tests/xgettext-scheme-5
gettext-tools/tests/xgettext-scheme-6
gettext-tools/tests/xgettext-scheme-stackovfl-1
gettext-tools/tests/xgettext-scheme-stackovfl-2
gettext-tools/tests/xgettext-sh-2
gettext-tools/tests/xgettext-sh-6
gettext-tools/tests/xgettext-sh-stackovfl-1
gettext-tools/tests/xgettext-sh-stackovfl-3
gettext-tools/tests/xgettext-sh-stackovfl-4
gettext-tools/tests/xgettext-sh-stackovfl-5
gettext-tools/tests/xgettext-smalltalk-1
gettext-tools/tests/xgettext-smalltalk-2
gettext-tools/tests/xgettext-tcl-2
gettext-tools/tests/xgettext-tcl-3
gettext-tools/tests/xgettext-tcl-stackovfl-1
gettext-tools/tests/xgettext-tcl-stackovfl-2
gettext-tools/tests/xgettext-tcl-stackovfl-3
gettext-tools/tests/xgettext-tcl-stackovfl-4
gettext-tools/tests/xgettext-vala-stackovfl-1
gettext-tools/tests/xgettext-vala-stackovfl-2
gettext-tools/tests/xgettext-ycp-1
gettext-tools/tests/xgettext-ycp-2
gettext-tools/tests/xgettext-ycp-4
gettext-tools/tests/xgettext-ycp-stackovfl-1
gettext-tools/tests/xgettext-ycp-stackovfl-2
gettext-tools/tests/xgettext-ycp-stackovfl-3
gettext-tools/tests/xgettext-ycp-stackovfl-4

index 8f2aaf305690f364d361bc72248b3f03a11918bc..1b41efa14937e95e143652e5ffa33a375ebdaade 100755 (executable)
@@ -68,7 +68,7 @@ test $? = 1 || { cat autopoint.err; Exit 1; }
 rm -fr intl m4 po ABOUT-NLS config.rpath
 
 # Check for copying libintl source of an older version.
-cat <<EOF >configure.ac
+cat <<\EOF >configure.ac
 AC_INIT
 AC_CONFIG_SRCDIR(hello.c)
 
@@ -187,7 +187,7 @@ test -f po/Makefile.in.in || Exit 1
 rm -fr m4 po ABOUT-NLS config.rpath
 
 # Check for AM_GNU_GETTEXT_REQUIRE_VERSION.
-cat <<EOF >configure.ac
+cat <<\EOF >configure.ac
 AC_INIT
 AC_CONFIG_SRCDIR(hello.c)
 
@@ -212,7 +212,7 @@ test -f po/Makefile.in.in || Exit 1
 
 # Check for the case where both AM_GNU_GETTEXT_REQUIRE_VERSION and
 # AM_GNU_GETTEXT_VERSION are used. Once with libintl source.
-cat <<EOF >configure.ac
+cat <<\EOF >configure.ac
 AC_INIT
 AC_CONFIG_SRCDIR(hello.c)
 
@@ -234,7 +234,7 @@ test $? = 1 || { cat autopoint.err; Exit 1; }
 
 # Check for the case where both AM_GNU_GETTEXT_REQUIRE_VERSION and
 # AM_GNU_GETTEXT_VERSION are used. Once without libintl source.
-cat <<EOF >configure.ac
+cat <<\EOF >configure.ac
 AC_INIT
 AC_CONFIG_SRCDIR(hello.c)
 
index 415e3bf22fe074e8b87b8c7bb1f31113c1393ed3..3089d36f131a7558adbad7fbda3fb855a7cfa3d5 100755 (executable)
@@ -7,7 +7,7 @@
 ${XGETTEXT} -o fc3.tmp --omit-header --no-location "$wabs_srcdir"/format-c-3-prg.c || Exit 1
 LC_ALL=C tr -d '\r' < fc3.tmp > fc3.pot || Exit 1
 
-cat <<EOF > fc3.ok
+cat <<\EOF > fc3.ok
 msgid "the president"
 msgstr ""
 
@@ -19,7 +19,7 @@ EOF
 : ${DIFF=diff}
 ${DIFF} fc3.ok fc3.pot || Exit 1
 
-cat <<EOF > fc3-de.po
+cat <<\EOF > fc3-de.po
 msgid "the president"
 msgstr "der Vorsitzende"
 
@@ -39,7 +39,7 @@ ${MSGFMT} -o fc3-dir/fr/LC_MESSAGES/fc3.mo fc3-de.po
 ${MSGUNFMT} -o fc3-de.po.tmp fc3-dir/fr/LC_MESSAGES/fc3.mo || Exit 1
 LC_ALL=C tr -d '\r' < fc3-de.po.tmp > fc3-de.po.un || Exit 1
 
-cat <<EOF > fc3-de.po.red
+cat <<\EOF > fc3-de.po.red
 msgid "father of %d children"
 msgstr "Vater von %d Kindern"
 
index 7092ee0c9e3c887478c91f68117fe2758505c7c8..8f2d75c0e72a3cfd7f231d8b9309a48c69848d59 100755 (executable)
@@ -7,7 +7,7 @@
 ${XGETTEXT} -o fc4.tmp --omit-header --no-location "$wabs_srcdir"/format-c-4-prg.c || Exit 1
 LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot || Exit 1
 
-cat <<EOF > fc4.ok
+cat <<\EOF > fc4.ok
 msgid "the president"
 msgstr ""
 
@@ -21,7 +21,7 @@ EOF
 : ${DIFF=diff}
 ${DIFF} fc4.ok fc4.pot || Exit 1
 
-cat <<EOF > fc4-de.po
+cat <<\EOF > fc4-de.po
 msgid "the president"
 msgstr "der Vorsitzende"
 
@@ -43,7 +43,7 @@ ${MSGFMT} -o fc4-dir/fr/LC_MESSAGES/fc4.mo fc4-de.po
 ${MSGUNFMT} -o fc4-de.po.tmp fc4-dir/fr/LC_MESSAGES/fc4.mo || Exit 1
 LC_ALL=C tr -d '\r' < fc4-de.po.tmp > fc4-de.po.un || Exit 1
 
-cat <<EOF > fc4-de.po.red
+cat <<\EOF > fc4-de.po.red
 msgid "father of %d child"
 msgid_plural "father of %<PRId8> children"
 msgstr[0] "Vater eines Kindes"
index 3c64c8794a47158ec5998b0da59d4fed469978f6..1a70c75772a0f7b09cc83dd9828e3fa92aaca782 100755 (executable)
@@ -12,7 +12,7 @@
 ${XGETTEXT} -o fc5.tmp --omit-header --no-location "$wabs_srcdir"/format-c-5-prg.c || Exit 1
 LC_ALL=C tr -d '\r' < fc5.tmp > fc5.pot || Exit 1
 
-cat <<EOF > fc5.ok
+cat <<\EOF > fc5.ok
 msgid "the president"
 msgstr ""
 
@@ -25,7 +25,7 @@ EOF
 ${DIFF} fc5.ok fc5.pot || Exit 1
 
 # This should better be Farsi, not German. Can some translator help me?
-cat <<EOF > fa.po
+cat <<\EOF > fa.po
 msgid "the president"
 msgstr "der Vorsitzende"
 
index 87b609bd93454b5c6f7cf5a0ee3ff589c174a25e..90553a63bc05ff26e7ebd18ac9d74c805cf347ca 100755 (executable)
@@ -13,7 +13,7 @@ TEXTDOMAINDIR=. LANGUAGE=gt-1 \
 ${GETTEXT} --env LC_ALL=en -e test 'SYS_(C)\n' | LC_ALL=C tr -d '\r' > gt-test1.out
 
 # Create correct file.
-cat <<EOF > gtmf-test1.ok
+cat <<\EOF > gtmf-test1.ok
 MSGFMT(1) portable message object file compiler
 Copyright (C) 1995 Free Software Foundation
 Report bugs to <bug-gnu-utils@gnu.org>
index 9977cfe2e5d645c3a20fbfe891974720aacb488d..e19b86cc0f044438ff90444ed0c1206e16deed77 100755 (executable)
@@ -11,7 +11,7 @@ test -d in-0/C/LC_MESSAGES || mkdir in-0/C/LC_MESSAGES
 ${MSGFMT} -o in-0/C/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-1.po
 
 : ${DIFF=diff}
-cat <<EOF > in-0.ok
+cat <<\EOF > in-0.ok
 cheese
 EOF
 
index cf0f8df80a44dd4fd37b7a5fb8279f533259db1a..b572d0d6feee22910b4a83bbe6ecae77db22e314 100755 (executable)
@@ -11,7 +11,7 @@ test -d in-1/fr/LC_MESSAGES || mkdir in-1/fr/LC_MESSAGES
 ${MSGFMT} -o in-1/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-1.po
 
 : ${DIFF=diff}
-cat <<EOF > in-1.ok
+cat <<\EOF > in-1.ok
 fromage
 EOF
 
index a2a2d8dbd8e69994cc7ff90320750ac4d3f2072f..f7cbbd43be8511fffc01ee9271c264395fef5f6d 100755 (executable)
@@ -18,10 +18,10 @@ test -d in-2-2/fr/LC_MESSAGES || mkdir in-2-2/fr/LC_MESSAGES
 ${MSGFMT} -o in-2-2/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-2.po
 
 : ${DIFF=diff}
-cat <<EOF > in-2-1.ok
+cat <<\EOF > in-2-1.ok
 Käse
 EOF
-cat <<EOF > in-2-2.ok
+cat <<\EOF > in-2-2.ok
 Käse
 EOF
 
index 20889825832907f8587a605cf43c04ee4e8dae6d..c283bb9ee44ebd923490da6af95a9496b1356f3c 100755 (executable)
@@ -18,10 +18,10 @@ test -d in-3-2/fr/LC_MESSAGES || mkdir in-3-2/fr/LC_MESSAGES
 ${MSGFMT} -o in-3-2/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-2-2.po
 
 : ${DIFF=diff}
-cat <<EOF > in-3-1.ok
+cat <<\EOF > in-3-1.ok
 Käse
 EOF
-cat <<EOF > in-3-2.ok
+cat <<\EOF > in-3-2.ok
 Käse
 EOF
 
index c1b3637edaa9b9a48d7b247a472b3b0281acf983..b5c26f18965f4edaf6efa799c20d33e8ddba443b 100755 (executable)
@@ -13,7 +13,7 @@ test -d in-6/fr/LC_MESSAGES || mkdir in-6/fr/LC_MESSAGES
 ${MSGFMT} -o in-6/fr/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-1.po
 
 : ${DIFF=diff}
-cat <<EOF > in-6.ok
+cat <<\EOF > in-6.ok
 fromage
 EOF
 
index 1876c7efa9f6406ef8517bceb6eecf60530f9f1c..a74df0d7d7b49ffc151bdbac0289265491366967 100755 (executable)
@@ -38,7 +38,7 @@ test -d in-7/fr/LC_MESSAGES || mkdir in-7/fr/LC_MESSAGES
 test -d in-7/fr_FR || mkdir in-7/fr_FR
 test -d in-7/fr_FR/LC_MESSAGES || mkdir in-7/fr_FR/LC_MESSAGES
 
-cat <<EOF > in-7l.po
+cat <<\EOF > in-7l.po
 msgid ""
 msgstr ""
 "MIME-Version: 1.0\n"
@@ -49,7 +49,7 @@ msgid "dog"
 msgstr "chien"
 EOF
 
-cat <<EOF > in-7-1.po
+cat <<\EOF > in-7-1.po
 msgid ""
 msgstr ""
 "MIME-Version: 1.0\n"
@@ -60,7 +60,7 @@ msgid "cheese"
 msgstr "fromage"
 EOF
 
-cat <<EOF > in-7-2.po
+cat <<\EOF > in-7-2.po
 msgid ""
 msgstr ""
 "MIME-Version: 1.0\n"
@@ -71,7 +71,7 @@ msgid "cheese"
 msgstr "camembert"
 EOF
 
-cat <<EOF > in-7-3.po
+cat <<\EOF > in-7-3.po
 msgid ""
 msgstr ""
 "MIME-Version: 1.0\n"
@@ -89,7 +89,7 @@ ${MSGFMT} -o in-7/fr_FR/LC_MESSAGES/tstfoo.mo in-7-2.po
 ${MSGFMT} -o in-7/fr/LC_MESSAGES/tstbar.mo in-7-3.po
 
 : ${DIFF=diff}
-cat <<EOF > in-7.ok
+cat <<\EOF > in-7.ok
 chien
 confiture
 camembert
index 4848763da44edd2d3484a40052e263aae493a80e..fef6ed8635de96bbf41c2782fb296fe13d7e110e 100755 (executable)
@@ -40,7 +40,7 @@ test -d in-sl-1/fr_FR/LC_MESSAGES || mkdir in-sl-1/fr_FR/LC_MESSAGES
 ${MSGFMT} -o in-sl-1/de_DE/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-setlocale-1-1.po
 ${MSGFMT} -o in-sl-1/fr_FR/LC_MESSAGES/tstprog.mo "$wabs_srcdir"/intl-setlocale-1-2.po
 
-cat <<EOF > in-sl-1.ok
+cat <<\EOF > in-sl-1.ok
 String1 - Lang1: 1st string
 String2 - Lang1: 2nd string
 String1 - Lang2: 1st string
index 9be950aeb6139ada9715c5dc6c2efda9a0cf8ece..9779c9bbf314c54174e5f8330608755710e109cc 100755 (executable)
@@ -18,7 +18,7 @@ ${MSGFMT} -o in-th-2/fr/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-2-1.
 ${MSGFMT} -o in-th-2/de/LC_MESSAGES/tstthread.mo "$wabs_srcdir"/intl-thread-2-2.po
 
 : ${DIFF=diff}
-cat <<EOF > in-th-2.ok
+cat <<\EOF > in-th-2.ok
 beauté
 Schönheit
 beauté
index 28464689c0e490d6a36ea011164a8f5b00323759..93293d310346fbe917160605b3a56610bb96df0e 100755 (executable)
@@ -58,7 +58,7 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CC --mode=link \
 ${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.c || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 #, c-format
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
index 3e01588691b5bd219dd9ede557f7491bcae6ade6..52cc1c9cb25f6a4a40fe5992a438b59ebc0ca0d7 100755 (executable)
@@ -80,7 +80,7 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CXX --mode=link \
 ${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.cc || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 521ca6f9774370ceb07fb0598b6d48b5185a1064..3163d71a86a60ea6ca95f9cd94bd8a4383dd3ea1 100755 (executable)
@@ -91,7 +91,7 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CXX --mode=link \
 ${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.cc || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 0c3a492742c63bd812cfb7a690391a5e7430bf51..7cd2a6b71a9f79d85899465545f0b63a69ca60d5 100755 (executable)
@@ -22,7 +22,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.lisp || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 3ccdd5257ba792dbe568fbf9c7f0dc06af95a593..a365bb6a5b75eba1717d935154b43a852629ab2c 100755 (executable)
@@ -61,7 +61,7 @@ ${CSHARPCOMP} -o program.exe -L ../../../gettext-runtime/intl-csharp -l GNU.Gett
 ${XGETTEXT} -o prog.tmp --omit-header --no-location program.cs || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 3081ddc5d22bdf21795f15c1e976b2babe50a49c..d589f36544b0fbec2ffc71915cfafc7b238dc6d6 100755 (executable)
@@ -17,7 +17,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.el || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 3f0b2eddaac740da78f0897fa288b3f12aa6c32a..498de3e916f2bc082bda3e81df4e0fe6c2c51a94 100755 (executable)
@@ -26,7 +26,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.awk || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 302eaf3aa5adc841636f56db254baf2d44867a71..714d05eecde913dec30dd5fd0e87a4f414f2d210 100755 (executable)
@@ -25,7 +25,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.scm || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 0b5c70ee7b8eadae5e713fb79566fe241fb8a091..65e3e246d555ebfbf3a7677ab2faf86257442134 100755 (executable)
@@ -66,7 +66,7 @@ CLASSPATH=../../../gettext-runtime/intl-java/libintl.jar ${JAVACOMP} -d . Progra
 ${XGETTEXT} -o prog.tmp --omit-header --no-location Program.java || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 5ef33bbf3fee0c20a201bf60d7f14921cc7177b9..09869e57618b89b08ef21f9f796b7caca3204e35 100755 (executable)
@@ -22,7 +22,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.js || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 31bf926fbc893387d34f6bcf32703100ce42d3f8..d7c88a27bb0407f967cf7e71368a493b970f3f36 100755 (executable)
@@ -21,7 +21,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.jl || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 938a0a6c98d0e0d1e44faf0294c5782a7bc7b525..9edef4a305ee6ac6899a1279b5cbdc8e0c1992e1 100755 (executable)
@@ -73,7 +73,7 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CC --mode=link \
 ${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.m || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 #, c-format
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
index 8f6df6326a5c3b099dd3ff109a270ff5ca7aecd0..d1c934c7ec1c31d6cebdc8e7af44fb2895ac5bfb 100755 (executable)
@@ -44,7 +44,7 @@ fi
 ${XGETTEXT} -o pascalprog.tmp --omit-header --add-location pascalprog.${suffix} || Exit 1
 LC_ALL=C tr -d '\r' < pascalprog.tmp > pascalprog.pot || Exit 1
 
-cat <<EOF > pascalprog.ok
+cat <<\EOF > pascalprog.ok
 #: pascalprog.question
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
index 22bcbd4b4b16b6f6c1a5952e054bb55973da4791..426038cfbe011176d0c9d36e3d6535a800082e71 100755 (executable)
@@ -27,7 +27,7 @@ ${XGETTEXT} \
   -o prog.tmp --omit-header --no-location program1.pl || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 45d40ef4840c3678a24a5c9c0b27926219a64d59..5d57552d3c0277a0d973c1bfbdfc721fdd0678c0 100755 (executable)
@@ -26,7 +26,7 @@ ${XGETTEXT} \
   -o prog.tmp --omit-header --no-location program2.pl || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index b8238d5b9fea0b62d2af90d2a2a3aec8d568f33d..4ba8f6f519017dab6db281b35af03e6a678f2d1e 100755 (executable)
@@ -21,7 +21,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.php || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 1351b01f8f4bc6e96a7fbee4fd615b91773ff1ea..9267a219d0c371ee64379d7cd0d26345dcfa1951 100755 (executable)
@@ -23,7 +23,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog1.py || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 2b2444624468cbbf6156e269b2abaa5761322aca..44145da37f3e1bf4bb3385583ea2d264a76853a9 100755 (executable)
@@ -29,7 +29,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog2.py || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 348aa726ff987406607b1d16fa215c11b84fb2cd..9054caf7f420ec924e9fdb18de1beab30376fb1c 100755 (executable)
@@ -23,7 +23,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --add-location prog.rst || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 #: rstconv.help
 msgid ""
 "rstconv [-h|--help]    Displays this help\n"
@@ -64,7 +64,7 @@ ${DIFF} prog.ok prog.pot || Exit 1
 : ${RSTCONV=rstconv}
 if (${RSTCONV} -o prog.pot -i prog.rst) >/dev/null 2>&1; then
 
-cat <<EOF > prog.ok1
+cat <<\EOF > prog.ok1
 #: rstconv:help
 msgid "rstconv [-h|--help]    Displays this help\nrstconv options        Convert rst file\n\nOptions are:\n  -i file    Use specified file instead of stdin as input .rst (OPTIONAL)\n  -o file    Write output to specified file (REQUIRED)\n  -f format  Specifies the output format:\n             po    GNU gettext .po (portable) format (DEFAULT)\n"
 msgstr ""
@@ -87,7 +87,7 @@ msgstr ""
 
 EOF
 
-cat <<EOF > prog.ok2
+cat <<\EOF > prog.ok2
 #: rstconv:help
 msgid ""
 "rstconv [-h|--help]    Displays this help\n"
index 6b3584d5455410837b4c1207f7fe766a007d7802..8c566aaccc32e885a5ff756b907c9ab5bb6eec09 100755 (executable)
@@ -34,7 +34,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.st || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 0cc8c3ee41269f041ea5fee5ab01fb61165da53d..1de8d5c124b1201415e47fc1d0ba36eae803e9b4 100755 (executable)
@@ -25,7 +25,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header -k_ program.tcl || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 #: program.tcl:5
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
index ba1d25e98b24113e86eeb101ee3dfad75c26facf..db0e7dcb87558ff7aecd4a0503792377c66df16c 100755 (executable)
@@ -47,7 +47,7 @@ ${VALAC} --Xcc=-DGETTEXT_PACKAGE=\"prog\" prog.vala 2>prog.err \
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.vala || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index 20ac13342556def71e6f1547296613ea4cb6e193..a7ad4118fcf44d85997cbad4d6af8517877ddb2b 100755 (executable)
@@ -17,7 +17,7 @@ EOF
 ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.ycp || Exit 1
 LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
-cat <<EOF > prog.ok
+cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
 msgstr ""
 
index a554e8a1d2db9598924f7077bdf924909cd8e3aa..9843a2b6fc2f847425c9754c534b13986f45439a 100755 (executable)
@@ -4,7 +4,7 @@
 # Verify that msgcat doesn't introduce alternative syntax if all translations
 # have the same msgstr.
 
-cat <<EOF > mcat-test1.in1
+cat <<\EOF > mcat-test1.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -21,7 +21,7 @@ msgid "1"
 msgstr "eins"
 EOF
 
-cat <<EOF > mcat-test1.in2
+cat <<\EOF > mcat-test1.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 7068a8332f28a94b7407403186f670d7f655e33b..76cd4baaea04adbb0da704efb0145ad69ffc5316 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --add-location=file option.
 
-cat <<EOF > mcat-test19.in1
+cat <<\EOF > mcat-test19.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "eins"
 EOF
 
-cat <<EOF > mcat-test19.in2
+cat <<\EOF > mcat-test19.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 8685f6580d3ffb3b91d7dc4c4024814d06310ab2..7f6d9e1d545cd0cd24487db0154db55a337c00fc 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Verify --sort-by-file.
 
-cat <<EOF > mcat-test20.in
+cat <<\EOF > mcat-test20.in
 #: clients/inst_language.ycp:119
 msgid "one"
 msgstr "1"
index 93890e3fdcd453e3f775641e91498e31a4b75a9b..8e119ad2f069ac4e4c68188184dfb0be1917a1c3 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Verify 'msgcat --sort-output'
 
-cat <<EOF > mcat-test7.in1
+cat <<\EOF > mcat-test7.in1
 #: clients/inst_language.ycp:119
 msgid "two"
 msgstr "2"
index 17f70aa907c33500e8f534e1b0398878476731c7..0124ef4dce098b9c9bd58f4ef05793705509966d 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test a succeeding comparison.
 
-cat <<EOF > mc-test1.in1
+cat <<\EOF > mc-test1.in1
 msgid "one" msgstr "first"
 msgid "two" msgstr "second"
 msgid "three" msgstr "third"
 EOF
 
-cat <<EOF > mc-test1.in2
+cat <<\EOF > mc-test1.in2
 msgid "three" msgstr ""
 msgid "one" msgstr ""
 msgid "two" msgstr ""
index a63cc6a2b5685f86af96bdca5d63957125105e68..8ee0d44db795b87387ebf698034a82dd7ec04db1 100755 (executable)
@@ -3,14 +3,14 @@
 
 # Test a failing comparison.
 
-cat <<EOF > mc-test2.in1
+cat <<\EOF > mc-test2.in1
 msgid "one" msgstr "first"
 msgid "two" msgstr "second"
 msgid "three" msgstr "third"
 msgid "four" msgstr "fourth"
 EOF
 
-cat <<EOF > mc-test2.in2
+cat <<\EOF > mc-test2.in2
 msgid "thre" msgstr "" #i.e. pretend a typo in the program
 msgid "one" msgstr ""
 msgid "two" msgstr ""
@@ -20,7 +20,7 @@ EOF
 LC_MESSAGES=C LC_ALL= \
 ${MSGCMP} mc-test2.in1 mc-test2.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgcmp\.exe|msgcmp|' -e 's|^/cygdrive/[^ ]*/msgcmp|msgcmp|' | LC_ALL=C tr -d '\r' > mc-test2.out
 
-cat <<EOF > mc-test2.ok
+cat <<\EOF > mc-test2.ok
 mc-test2.in2:1: this message is used but not defined...
 mc-test2.in1:3: ...but this definition is similar
 mc-test2.in1:4: warning: this message is not used
index f79fd23f121fab9e521103719091408c2fe91e34..1b61c22e9cd4b0b417a61bb48961c4a5e940694f 100755 (executable)
@@ -3,14 +3,14 @@
 
 # Test a failing comparison with Java .properties syntax.
 
-cat <<EOF > mc-test3.in1
+cat <<\EOF > mc-test3.in1
 one=first
 two=second
 three=third
 four=fourth
 EOF
 
-cat <<EOF > mc-test3.in2
+cat <<\EOF > mc-test3.in2
 !thre=
 !one=
 !two=
@@ -20,7 +20,7 @@ EOF
 LC_MESSAGES=C LC_ALL= \
 ${MSGCMP} --properties-input mc-test3.in1 mc-test3.in2 2>&1 | grep -v '^==' | sed -e 's|[^ ]*\\msgcmp\.exe|msgcmp|' -e 's|^msgcmp\.exe|msgcmp|' -e 's|^/cygdrive/[^ ]*/msgcmp|msgcmp|' | LC_ALL=C tr -d '\r' > mc-test3.out
 
-cat <<EOF > mc-test3.ok
+cat <<\EOF > mc-test3.ok
 mc-test3.in2:1: this message is used but not defined...
 mc-test3.in1:3: ...but this definition is similar
 mc-test3.in1:4: warning: this message is not used
index 67ab936881f48ee01bf17b6f03c83e2b2bb46c8d..102afcdd7ba06374bc378d519b35a5eda8680727 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test --more-than=0 option.
 
-cat <<EOF > mcomm-test1.in1
+cat <<\EOF > mcomm-test1.in1
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test1.in2
+cat <<\EOF > mcomm-test1.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 7dca8c0e1c056621d5b76d1886611147d7a401af..e69fc1aba23b167efee4b757c8a57247fc982db7 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test merge of common entries with --more-than=1 and --omit-header.
 
-cat <<EOF > mcomm-test10.in1
+cat <<\EOF > mcomm-test10.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test10.in2
+cat <<\EOF > mcomm-test10.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index cecee3f3cb10e1cb84d4895b63e8925406acd028..1d3219de82d890587b32f06c52be88afd3b4e5bb 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test that --more-than=1 drops entries which occur only once.
 
-cat <<EOF > mcomm-test11.in1
+cat <<\EOF > mcomm-test11.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -24,7 +24,7 @@ msgid "2"
 msgstr "2x"
 EOF
 
-cat <<EOF > mcomm-test11.in2
+cat <<\EOF > mcomm-test11.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 8c7ff781ff5d34e3a4d73d944c689f08e1d2636b..d51ea10b07488399edd067394dce02ed791ee1d9 100755 (executable)
@@ -6,7 +6,7 @@
 
 # unique msg in in3
 
-cat <<EOF > mcomm-test12.in1
+cat <<\EOF > mcomm-test12.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -24,7 +24,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test12.in2
+cat <<\EOF > mcomm-test12.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -42,7 +42,7 @@ msgid "1"
 msgstr ""
 EOF
 
-cat <<EOF > mcomm-test12.in3
+cat <<\EOF > mcomm-test12.in3
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 9f21eab811cf1145ec80947f1577a905be6b5387..490530595bf5ae6845e96f0a2afbeb51ee711c99 100755 (executable)
@@ -6,7 +6,7 @@
 # one msg occurs 3 times (has to go away).
 # An unique msg in in3 has to stay.
 
-cat <<EOF > mcomm-test13.in1
+cat <<\EOF > mcomm-test13.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -24,7 +24,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test13.in2
+cat <<\EOF > mcomm-test13.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -41,7 +41,7 @@ msgid "1"
 msgstr ""
 EOF
 
-cat <<EOF > mcomm-test13.in3
+cat <<\EOF > mcomm-test13.in3
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 3e0401b2832d8364e1e53acb38f863ef217a0c44..8e6ac414dd5dbbcbd7715db9a961979807939f20 100755 (executable)
@@ -6,7 +6,7 @@
 # no unique msg in input files.
 # without --force-po don't create any PO file; cf. msgcomm-15
 
-cat <<EOF > mcomm-test14.in1
+cat <<\EOF > mcomm-test14.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -24,7 +24,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test14.in2
+cat <<\EOF > mcomm-test14.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -41,7 +41,7 @@ msgid "1"
 msgstr ""
 EOF
 
-cat <<EOF > mcomm-test14.in3
+cat <<\EOF > mcomm-test14.in3
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 043cf13dff31e8557825ac20359b9878df7d9716..5bc225f4f44996cd3924ca654c8951f7ed2705a6 100755 (executable)
@@ -7,7 +7,7 @@
 # no unique msg in input files.
 # with --force-po create an empty PO file; cf. msgcomm-14
 
-cat <<EOF > mcomm-test15.in1
+cat <<\EOF > mcomm-test15.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -25,7 +25,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test15.in2
+cat <<\EOF > mcomm-test15.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -42,7 +42,7 @@ msgid "1"
 msgstr ""
 EOF
 
-cat <<EOF > mcomm-test15.in3
+cat <<\EOF > mcomm-test15.in3
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 2ec667522151bc3ec7ec5623393689a4d8f0e335..d0159bf9ad758ff8e2ff838f82443f2da413cd71 100755 (executable)
@@ -5,7 +5,7 @@
 # entries only (entries occurring less than 2 times).  But don't drop the
 # header entry; otherwise msgcomm will fail for multibyte strings.
 
-cat <<EOF > mcomm-test17.in1
+cat <<\EOF > mcomm-test17.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -23,7 +23,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test17.in2
+cat <<\EOF > mcomm-test17.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 2dab53e54708f1a579d16e2b3fdc1d94c6f7dc8a..a771280ec09c7b6f1b4bcc052fb37e12d4ec9751 100755 (executable)
@@ -3,14 +3,14 @@
 
 # Test --more-than=0; identical message are wanted once only.
 
-cat <<EOF > mcomm-test18.in1
+cat <<\EOF > mcomm-test18.in1
 # Sure.
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test18.in2
+cat <<\EOF > mcomm-test18.in2
 # Right.
 #: hunt.c:759
 msgid "1"
index 0b693ad805a9f3fbbfdcc997bbe27589ae5463a8..6ff3e58ac1137c892167885d80f0724d613b8502 100755 (executable)
@@ -4,7 +4,7 @@
 # Test --more-than=0; identical message are wanted once only.
 # If the first occurrence is fuzzy, keep the fuzzy mark.
 
-cat <<EOF > mcomm-test19.in1
+cat <<\EOF > mcomm-test19.in1
 # Not sure.
 #: first.c:123
 #, fuzzy
@@ -12,7 +12,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test19.in2
+cat <<\EOF > mcomm-test19.in2
 # Sure.
 #: hunt.c:759
 msgid "1"
index f93d58de13a5204a6a05a0c57a8f3b2294ecdb68..f80cd22aa59a32f4d63e24bc71c9c3328bb5dc30 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test --no-location option.
 
-cat <<EOF > mcomm-test2.in1
+cat <<\EOF > mcomm-test2.in1
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test2.in2
+cat <<\EOF > mcomm-test2.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 3beb31ca948dd297ca17e8eb9e31a018aa28fbe2..2b45b63b29a85123bf204b1ec4482e54f2581989 100755 (executable)
@@ -4,14 +4,14 @@
 # Test --more-than=0; identical message are wanted once only.
 # If the first occurrence is not fuzzy, don't make the result fuzzy.
 
-cat <<EOF > mcomm-test20.in1
+cat <<\EOF > mcomm-test20.in1
 # Sure.
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test20.in2
+cat <<\EOF > mcomm-test20.in2
 # Not sure.
 #: hunt.c:759
 #, fuzzy
index fa32600c0f3df0c90d339f4cf5807eb8e7b76cbc..30ef5154926ac41189db25273577e2ae5a9a8bab 100755 (executable)
@@ -4,7 +4,7 @@
 # Test --more-than=0; identical message are wanted once only.
 # If both occurrences are fuzzy, keep the fuzzy mark.
 
-cat <<EOF > mcomm-test21.in1
+cat <<\EOF > mcomm-test21.in1
 # Not sure.
 #: first.c:123
 #, fuzzy
@@ -12,7 +12,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test21.in2
+cat <<\EOF > mcomm-test21.in2
 # Doubt.
 #: hunt.c:759
 #, fuzzy
index 2cc5f95d03c05ee77c9da1c5a640024ae298a4d1..dac30e4d8bfc1be971887c1b3674fc4f0df7551b 100755 (executable)
@@ -3,12 +3,12 @@
 
 # Test --more-than=0 option with Java .properties syntax.
 
-cat <<EOF > mcomm-test24.in1
+cat <<\EOF > mcomm-test24.in1
 #: first.c:123
 1=1x
 EOF
 
-cat <<EOF > mcomm-test24.in2
+cat <<\EOF > mcomm-test24.in2
 #: hunt.c:759
 2=2x
 EOF
index fda523e0bea1ddb2407ebfa9bd2e8b22922f28c7..eefba06a8b3394864fdee9d1aa535504b23c275f 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test handling of format and 'range:' flag.
 
-cat <<EOF > mcomm-test27.in1
+cat <<\EOF > mcomm-test27.in1
 msgid "one day"
 msgid_plural "%d days"
 msgstr[0] ""
@@ -28,7 +28,7 @@ msgstr[0] ""
 msgstr[1] ""
 EOF
 
-cat <<EOF > mcomm-test27.in2
+cat <<\EOF > mcomm-test27.in2
 #, c-format, range: 1..6
 msgid "one day"
 msgid_plural "%d days"
index 48f77616101dbbcf6a00b9f4284413fbfdc47fb3..c9b033f6de271046119f8c4bfc7c3a9bfca2bb59 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test --add-location=file option.
 
-cat <<EOF > mcomm-test28.in1
+cat <<\EOF > mcomm-test28.in1
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test28.in2
+cat <<\EOF > mcomm-test28.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 67baccd494bd90d8cfba34eec10a08da1ce3490a..e877b753a77680eba1a406c58c45a5ad84f1efb9 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test --omit-header option when there is no header.
 
-cat <<EOF > mcomm-test3.in1
+cat <<\EOF > mcomm-test3.in1
 #: first.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test3.in2
+cat <<\EOF > mcomm-test3.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index a292da49da033b758a7b13db6cfe67dcbc636f19..72f86155b447dad50c8ebf104c9099d500c26912 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test what happens with the header entry.
 
-cat <<EOF > mcomm-test4.in1
+cat <<\EOF > mcomm-test4.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test4.in2
+cat <<\EOF > mcomm-test4.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 1eb7acd9247a36f727b58c0f774529bf90ec96e9..71bfcb0889322d28957e96baa02b56185a047dde 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --omit-header option when there is a header.
 
-cat <<EOF > mcomm-test5.in1
+cat <<\EOF > mcomm-test5.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test5.in2
+cat <<\EOF > mcomm-test5.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 634d8dbc6aabe652b4a8d7231417be19850b7506..c7a9052d67f1377da5d8dfe701ba6cdd1e68afba 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --no-location option when there is a header.
 
-cat <<EOF > mcomm-test6.in1
+cat <<\EOF > mcomm-test6.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test6.in2
+cat <<\EOF > mcomm-test6.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index b098ec74aec939d91090dc1ef2b4cdb3266016e5..8d74beb123c74d0dc315843b5e5ac70c20e70b74 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --no-location and --omit-header options together.
 
-cat <<EOF > mcomm-test7.in1
+cat <<\EOF > mcomm-test7.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test7.in2
+cat <<\EOF > mcomm-test7.in2
 #: hunt.c:759
 msgid "2"
 msgstr "2x"
index 582deff80ad347dff013f37ac49a42322a4b8b93..4e7f52cb9edc9a0a36f9f9869211e02f0823d121 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test merge of common entries with --more-than=1.
 
-cat <<EOF > mcomm-test8.in1
+cat <<\EOF > mcomm-test8.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test8.in2
+cat <<\EOF > mcomm-test8.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index fdb37b9a34d8d5f6e6e1025d73f19d3c046a4734..85e40ce98a8cf0634672749bf83e4a98fa718c5a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test merge of common entries with --more-than=1 and --no-location.
 
-cat <<EOF > mcomm-test9.in1
+cat <<\EOF > mcomm-test9.in1
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
@@ -20,7 +20,7 @@ msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mcomm-test9.in2
+cat <<\EOF > mcomm-test9.in2
 msgid ""
 msgstr ""
 "Project-Id-Version: GNU one 1.2.3\n"
index 893c8cd088545b650414e50d6c9bd35de55ab4a4..e6e9b4202bcdd157a8ab77419a007db223a79780 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test general operation.
 
-cat <<EOF > men-test1.po
+cat <<\EOF > men-test1.po
 # HEADER.
 #
 msgid ""
@@ -30,7 +30,7 @@ EOF
 ${MSGEN} -o men-test1.tmp men-test1.po || Exit 1
 LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || Exit 1
 
-cat <<EOF > men-test1.ok
+cat <<\EOF > men-test1.ok
 # HEADER.
 #
 msgid ""
index 4867e9bb9427b78c23a1ab2e7b8b9996ea248a42..552de67d21c8a2d72ffeaa09e41a176c9b936325 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --add-location=file option.
 
-cat <<EOF > men-test1.po
+cat <<\EOF > men-test1.po
 # HEADER.
 #
 msgid ""
@@ -34,7 +34,7 @@ EOF
 ${MSGEN} --add-location=file -o men-test1.tmp men-test1.po || Exit 1
 LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || Exit 1
 
-cat <<EOF > men-test1.ok
+cat <<\EOF > men-test1.ok
 # HEADER.
 #
 msgid ""
index 9bed6afd0b9c0e848ce3c1f837ca0a80b21adbf1..3a6def7b338f516e360a0e8725bbe1ed707cc6e9 100755 (executable)
@@ -6,7 +6,7 @@
 test -d mf-1 || mkdir mf-1
 test -d mf-1/LC_MESSAGES || mkdir mf-1/LC_MESSAGES
 
-cat <<EOF > mf-1-module1.po
+cat <<\EOF > mf-1-module1.po
 #default domain "messages.mo"
 msgid  "SYS_(C)\n"
 msgstr "MSGFMT(3) portable message object file compiler\n"
@@ -24,7 +24,7 @@ msgid "error 3"
 msgstr "error 3 translation"
 EOF
 
-cat <<EOF > mf-1-module2.po
+cat <<\EOF > mf-1-module2.po
 # ---
 #default domain "messages.mo"
 msgid  "mesg 4"
@@ -57,7 +57,7 @@ TEXTDOMAINDIR=. LANGUAGE=mf-1 \
 ${GETTEXT} --env LC_ALL=en gen 'SYS_(C)
 ' | LC_ALL=C tr -d '\r' > mf-test1.out
 
-cat <<EOF > gtmf-test1.ok
+cat <<\EOF > gtmf-test1.ok
 MSGFMT(3) portable message object file compiler
 Copyright (C) 1995 Free Software Foundation
 Report bugs to <bug-gnu-utils@gnu.org>
index 4f527971b7898df6f0df01d73ac030076f384df2..32a4fa8a766e9db4602b953376f15b0b9eae5b16 100755 (executable)
@@ -18,7 +18,7 @@ fi
 test -d mf-2 || mkdir mf-2
 test -d mf-2/LC_MESSAGES || mkdir mf-2/LC_MESSAGES
 
-cat <<EOF > mf-2-module1.po
+cat <<\EOF > mf-2-module1.po
 #default domain "messages.mo"
 msgid  "SYS_(C)\n"
 msgstr "MSGFMT(3) portable message object file compiler\n"
@@ -36,7 +36,7 @@ msgid "error 3"
 msgstr "error 3 translation"
 EOF
 
-cat <<EOF > mf-2-module2.po
+cat <<\EOF > mf-2-module2.po
 # ---
 #default domain "messages.mo"
 msgid  "mesg 4"
index 4751ce9a81cae020cefdf2d50b38a1bc19522a4f..bbe12e0a8c69007c41b3a91e567d6537c0fc414e 100755 (executable)
@@ -66,7 +66,7 @@ test -d fr/LC_MESSAGES || mkdir fr/LC_MESSAGES
 : ${MSGFMT=msgfmt}
 ${MSGFMT} -o fr/LC_MESSAGES/mf-20.mo mf-20.po || Exit 1
 
-cat <<EOF > mf-20.ok
+cat <<\EOF > mf-20.ok
 Le soleil tape.
 EOF
 
index aab90b8924266f1c04cf38cc86ba08d438703ce0..449286787af6d9a9986988df67ee539cfed5af37 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test that an empty header entry is OK.
 
-cat <<EOF >mf-test3.po
+cat <<\EOF >mf-test3.po
 #
 #       xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 #       xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
index 5630257ec6814bfd16a7be1663f24e7294ec0d3a..57bf49d06f7903bc349f277031f11706d8aef5b2 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test c-format handling.
 
-cat <<EOF >mf-test4.po
+cat <<\EOF >mf-test4.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index aededbcbadf5750e948e28045232cc47ede5235d..747f5c82b03ec4e4716dcbe8fa8b45085c9f2aa0 100755 (executable)
@@ -6,7 +6,7 @@
 # Note: On AIX 3 with xlc, this test fails. To make it work, add "-qcheck"
 # to the CFLAGS, or use gcc.
 
-cat <<EOF > mf-6.po
+cat <<\EOF > mf-6.po
 msgid ""
 msgstr ""
 "Project-Id-Version: msgfmt test 4\n"
index 79717a1507314771eb191b93c0962c76b0149c8c..d4e31bb2c516ee3f8558a783954c1d22d84e53f2 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Check for duplicates with identical translations
 
-cat <<EOF > mf-test7.in1
+cat <<\EOF > mf-test7.in1
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 9ec1c1eae22e0e932af40e49bade7e5559416b3c..5aa37d406c5f713834cde9c0b700f961eec802ca 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Check for duplicates with different translations
 
-cat <<EOF > mf-test8.in1
+cat <<\EOF > mf-test8.in1
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index e3269bc2bd08c411ca8fbbddeb990a9859901086..53e1426cf480e8ee0fc7a1e9245733408b89b368 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Duplicates are also fatal in obsolete marked entries.
 
-cat <<EOF > mf-test9.in1
+cat <<\EOF > mf-test9.in1
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index fab406d59c83ca4f0d6a2f4881828d9b8a1610f5..0a5909a98f8dfb3d83600d75bb6046357270147d 100755 (executable)
@@ -37,7 +37,7 @@ TEXTDOMAINDIR=. LANGUAGE=mf-p-1 \
 ${GETTEXT} --env LC_ALL=en gen 'SYS_(C)
 ' | LC_ALL=C tr -d '\r' > mf-p-test1.out
 
-cat <<EOF > gtmf-p-test1.ok
+cat <<\EOF > gtmf-p-test1.ok
 MSGFMT(3) portable message object file compiler
 Copyright (C) 1995 Free Software Foundation
 Report bugs to <bug-gnu-utils@gnu.org>
index 141b6be7531a06fdd9260ec6a95b13d02179d096..502d3ccfc9c86bc078785b905c10706f2b9c4678 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test general operation and line wrapping.
 
-cat <<EOF > mm-test1.in1
+cat <<\EOF > mm-test1.in1
 # first
 #. this should be discarded
 msgid "1"
@@ -20,7 +20,7 @@ msgid "3"
 msgstr "3z"
 EOF
 
-cat <<EOF > mm-test1.in2
+cat <<\EOF > mm-test1.in2
 #. this is the first
 #: snark.c:345
 msgid "1"
index 8081346838d1fc1f210d096a7c7c85cc961bf426..c4d3de9a9714a0c1e3fc65e92f687f171c2b7744 100755 (executable)
@@ -4,7 +4,7 @@
 # Test merging of a message which has plural forms in ref.pot but not
 # in def.po.
 
-cat <<EOF > mm-test10.po
+cat <<\EOF > mm-test10.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -26,7 +26,7 @@ msgid "%d error"
 msgstr "%d erreur"
 EOF
 
-cat <<EOF > mm-test10.pot
+cat <<\EOF > mm-test10.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -54,7 +54,7 @@ EOF
 ${MSGMERGE} -q -o mm-test10.tmp mm-test10.po mm-test10.pot || Exit 1
 LC_ALL=C tr -d '\r' < mm-test10.tmp > mm-test10.out || Exit 1
 
-cat <<EOF > mm-test10.ok
+cat <<\EOF > mm-test10.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 88885594019d2869b89182f6c6e1acd9271bcd01..137ef36534ceaa527f622a260d35e62fa7938e05 100755 (executable)
@@ -4,7 +4,7 @@
 # Test merging of a message which has plural forms in ref.pot but not
 # in def.po.
 
-cat <<EOF > mm-test11.po
+cat <<\EOF > mm-test11.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -28,7 +28,7 @@ msgid "%d error"
 msgstr "%d erreur"
 EOF
 
-cat <<EOF > mm-test11.pot
+cat <<\EOF > mm-test11.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -56,7 +56,7 @@ EOF
 ${MSGMERGE} -q -o mm-test11.tmp mm-test11.po mm-test11.pot || Exit 1
 LC_ALL=C tr -d '\r' < mm-test11.tmp > mm-test11.out || Exit 1
 
-cat <<EOF > mm-test11.ok
+cat <<\EOF > mm-test11.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index fb9f52f5cbac369e86045d9d6c7b29485971a2cf..e100c137f22207d9aa9a74c68556db5e9e22d229 100755 (executable)
@@ -4,7 +4,7 @@
 # Test merging of a message which has plural forms in def.po but not
 # in ref.pot.
 
-cat <<EOF > mm-test12.po
+cat <<\EOF > mm-test12.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -28,7 +28,7 @@ msgstr[0] "%d erreur"
 msgstr[1] "%d erreurs"
 EOF
 
-cat <<EOF > mm-test12.pot
+cat <<\EOF > mm-test12.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -54,7 +54,7 @@ EOF
 ${MSGMERGE} -q -o mm-test12.tmp mm-test12.po mm-test12.pot || Exit 1
 LC_ALL=C tr -d '\r' < mm-test12.tmp > mm-test12.out || Exit 1
 
-cat <<EOF > mm-test12.ok
+cat <<\EOF > mm-test12.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 4eb9a4df4970df7d45ad353154146bb9cba86b5c..f4216dcece04ae4d5787739b00120921a48cd39f 100755 (executable)
@@ -4,7 +4,7 @@
 # Test merging of a message which has c-format specified in ref.pot but not
 # in def.po.
 
-cat <<EOF > mm-test13.po
+cat <<\EOF > mm-test13.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -43,7 +43,7 @@ msgid "%age"
 msgstr "%-Satz"
 EOF
 
-cat <<EOF > mm-test13.pot
+cat <<\EOF > mm-test13.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -87,7 +87,7 @@ EOF
 ${MSGMERGE} -q -o mm-test13.tmp mm-test13.po mm-test13.pot || Exit 1
 LC_ALL=C tr -d '\r' < mm-test13.tmp > mm-test13.out || Exit 1
 
-cat <<EOF > mm-test13.ok
+cat <<\EOF > mm-test13.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index cbff31237f11e2aafe6c1de791115b12f0678cf1..c58d978e602044e8163a9a3061f18d3ee0c3395d 100755 (executable)
@@ -28,7 +28,7 @@ msgid "error %1."
 msgstr "b³±d %1."
 EOF
 
-cat <<EOF > mm-test16.pot
+cat <<\EOF > mm-test16.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Yoyodyne, Inc.
 # This file is distributed under the same license as the PACKAGE package.
index 8ff5134140b54ae5fbe4f4efbf76bf653575780f..28b2cecf64a2bc02a72f23e0f5bd0883fc680b7e 100755 (executable)
@@ -3,13 +3,13 @@
 
 # Test recognition of duplicates.
 
-cat <<EOF > mm-test2.in1
+cat <<\EOF > mm-test2.in1
 msgid "2" msgstr "2"
 msgid "3" msgstr "3"
 msgid "2" msgstr "ha ha"
 EOF
 
-cat <<EOF > mm-test2.in2
+cat <<\EOF > mm-test2.in2
 msgid "1" msgstr ""
 msgid "2" msgstr ""
 msgid "3" msgstr ""
index af76b48bff1d345b71addfe4e7275d453c8541f7..b19ac6de87e4c99632a32fff30203885af0708d1 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --add-location=file option.
 
-cat <<EOF > mm-test25.in1
+cat <<\EOF > mm-test25.in1
 # first
 #. this should be discarded
 msgid "1"
@@ -20,7 +20,7 @@ msgid "3"
 msgstr "3z"
 EOF
 
-cat <<EOF > mm-test25.in2
+cat <<\EOF > mm-test25.in2
 #. this is the first
 #: snark.c:345
 msgid "1"
index b86f7a07326e5dd77e1df890b9b7f28002c74af2..1b7f80959c02230883e04d23b76b26a5e0bafa9e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --for-msgfmt option.
 
-cat <<EOF > mm-test26.in1
+cat <<\EOF > mm-test26.in1
 #: fruits.c:14
 msgid "cherry"
 msgstr "cerise"
@@ -22,7 +22,7 @@ msgid "apple"
 msgstr "pommes"
 EOF
 
-cat <<EOF > mm-test26.in2
+cat <<\EOF > mm-test26.in2
 # Fuzzy already in the PO file.
 #: fruits.c:10
 msgid "apple"
index 4213178d856f345c0bd175c216c341c55cd700c3..91298382ba707a3863bdc261a350dc56e9e42136 100755 (executable)
@@ -17,7 +17,7 @@ msgstr "a"
 #~ msgstr "b"
 EOF
 
-cat <<EOF > mm-test29.pot
+cat <<\EOF > mm-test29.pot
 msgid "a"
 msgstr ""
 EOF
index 3c092ed919ef6415cad041277dad1e758a519245..c6231fb8a7194a26aa919a74f98d049acbae90a0 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test handling of obsolete/untranslated messages.
 
-cat <<EOF > mm-test3.in1
+cat <<\EOF > mm-test3.in1
 #
 # def.po
 #
@@ -32,7 +32,7 @@ msgstr "translation"
 # trailing comments should be removed
 EOF
 
-cat <<EOF > mm-test3.in2
+cat <<\EOF > mm-test3.in2
 #
 # ref.po
 #
index 423ea08d95d7d7adc454008456edebf5349581f2..f48c5e49b0a02e7b317961107f892e5bea1a73a7 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test handling of comments.
 
-cat <<EOF > mm-test4.in1.po
+cat <<\EOF > mm-test4.in1.po
 msgid "one"
 msgstr "eins"
 # This comment should be copied.
@@ -16,7 +16,7 @@ msgstr "zwei"
 #~ msgstr "vier"
 EOF
 
-cat <<EOF > mm-test4.in2.po
+cat <<\EOF > mm-test4.in2.po
 msgid "one"
 msgstr ""
 # This is a comment in the POT file.
@@ -28,7 +28,7 @@ EOF
 ${MSGMERGE} -q -o mm-test4.tmp mm-test4.in1.po mm-test4.in2.po || Exit 1
 LC_ALL=C tr -d '\r' < mm-test4.tmp > mm-test4.out || Exit 1
 
-cat <<EOF > mm-test4.ok
+cat <<\EOF > mm-test4.ok
 msgid "one"
 msgstr "eins"
 
index 0b25be23c036ca608254bb1f82ab72ef7fccb5d9..8f24ab401dd3016362195161486e2069af836fdd 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test handling of header entry.
 
-cat <<EOF > mm-test5.in1.po
+cat <<\EOF > mm-test5.in1.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
@@ -26,7 +26,7 @@ msgstr ""
 "blah blah blah blah blah blah blah blah blah blah blah blah blah bla bla bla\n"
 EOF
 
-cat <<EOF > mm-test5.in2.po
+cat <<\EOF > mm-test5.in2.po
 msgid ""
 msgstr ""
 
@@ -44,7 +44,7 @@ cat mm-test5.err | grep -v 'warning: Charset' | grep -v '^ '
 test $result = 0 || { Exit 1; }
 LC_ALL=C tr -d '\r' < mm-test5.tmp > mm-test5.out || Exit 1
 
-cat <<EOF > mm-test5.ok
+cat <<\EOF > mm-test5.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 9b66bc774ca57d33dac703789cbc342a49c3d5ae..46ae3bda50cd8370263f4ba843a55dbedd059fb9 100755 (executable)
@@ -24,7 +24,7 @@ msgid "white"
 msgstr "weiß"
 EOF
 
-cat <<EOF > mm-test6.in2.po
+cat <<\EOF > mm-test6.in2.po
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index cdc7542780e4fb5c755db0aecf5bb5fd78efc70e..4930fe182f359a3fb9c00ae1a9ec9dbe61480850 100755 (executable)
@@ -29,7 +29,7 @@ msgid "bye"
 msgstr "A bientôt"
 EOF
 
-cat <<EOF > mm-test7.pot
+cat <<\EOF > mm-test7.pot
 domain "foo-de"
 msgid "Hello"
 msgstr ""
index c5fb4dced2031c47842cd059d3f424fc750abd7a..fdc0c3bf1785b40ede7269fea02f085957f91b52 100755 (executable)
@@ -29,7 +29,7 @@ msgid "bye"
 msgstr "A bientôt"
 EOF
 
-cat <<EOF > mm-test8.pot
+cat <<\EOF > mm-test8.pot
 msgid "Hello"
 msgstr ""
 EOF
index 353c74a73772027f0a84f22246b2fc1ddffd9be9..a6e18840a7b2bbd463557b2cfdca7631a510be11 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Duplicates are also fatal in obsolete marked entries (cf. msgmerge-3).
 
-cat <<EOF > mm-test9.in1
+cat <<\EOF > mm-test9.in1
 msgid "2" msgstr "2"
 msgid "3" msgstr "3"
 #~ msgid
@@ -12,7 +12,7 @@ msgid "3" msgstr "3"
 #~ "ha ha"
 EOF
 
-cat <<EOF > mm-test9.in2
+cat <<\EOF > mm-test9.in2
 msgid "1" msgstr ""
 msgid "2" msgstr ""
 msgid "3" msgstr ""
index 3d4e0086dd6bc954fc3addc5abfe428002716121..1c17de4c743a0db70b63556c94246c497d898f24 100755 (executable)
@@ -3,19 +3,19 @@
 
 # Test compendium option.
 
-cat <<EOF > mm-c-1.in1
+cat <<\EOF > mm-c-1.in1
 #: file.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mm-c-1.com
+cat <<\EOF > mm-c-1.com
 #: file.c:345
 msgid "2"
 msgstr "2x"
 EOF
 
-cat <<EOF > mm-c-1.pot
+cat <<\EOF > mm-c-1.pot
 #: file.c:123
 msgid "1"
 msgstr ""
index 650075c9cbce9912b652229f40a27830b8961a17..44a43022b9eceecfd9dfee104dfaa022dae68a70 100755 (executable)
@@ -3,19 +3,19 @@
 
 # Test compendium option with fuzziness.
 
-cat <<EOF > mm-c-2.in1
+cat <<\EOF > mm-c-2.in1
 #: file.c:123
 msgid "1"
 msgstr "1x"
 EOF
 
-cat <<EOF > mm-c-2.com
+cat <<\EOF > mm-c-2.com
 #: file.c:345
 msgid "one, two, three"
 msgstr "1, 2, 3"
 EOF
 
-cat <<EOF > mm-c-2.pot
+cat <<\EOF > mm-c-2.pot
 #: file.c:123
 msgid "1"
 msgstr ""
index ce4e5431951cfca51960f05527c19c1f8f233880..40949662b8734d3f4a4f6b1892699c15ebfca009 100755 (executable)
@@ -7,7 +7,7 @@
 # the old translation file (mm-c-3.in1) contains the same msgid
 # Why not make use of the translation from the compendium?
 
-cat <<EOF > mm-c-3.in1
+cat <<\EOF > mm-c-3.in1
 #: file.c:123
 msgid "1"
 msgstr "1x"
@@ -17,13 +17,13 @@ msgid "one, two, three"
 msgstr ""
 EOF
 
-cat <<EOF > mm-c-3.com
+cat <<\EOF > mm-c-3.com
 #: file.c:345
 msgid "one, two, three"
 msgstr "1, 2, 3"
 EOF
 
-cat <<EOF > mm-c-3.pot
+cat <<\EOF > mm-c-3.pot
 #: file.c:123
 msgid "1"
 msgstr ""
index 050664e820f86cae8ebe893f01cabd2faf2bbf5f..351d3dc94053d71ef310b0449ea41a7007a57355 100755 (executable)
@@ -16,7 +16,7 @@ msgid "5"
 msgstr "fünf"
 EOF
 
-cat <<EOF > mm-c-4.pot
+cat <<\EOF > mm-c-4.pot
 #: file.c:123
 msgid "1"
 msgstr ""
index f7554b638f8bba855d19c5a6c0694088c488cdea..f1ceddf69c239f539683713b989ff82af0463fd0 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test handling of obsolete/untranslated messages with Java .properties syntax.
 
-cat <<EOF > mm-p-1.in1
+cat <<\EOF > mm-p-1.in1
 #
 # def.po
 #
@@ -20,7 +20,7 @@ still\ existing=translation
 # trailing comments should be removed
 EOF
 
-cat <<EOF > mm-p-1.in2
+cat <<\EOF > mm-p-1.in2
 #
 # ref.po
 #
index 595f0eb18eb5fd0afffeb3265d19757a0ef629b3..69d35a7ad4cebd68eff5fd2af458078c3de8b72d 100755 (executable)
@@ -9,7 +9,7 @@ cat <<\EOF > mm-p-2.po
 white=wei\u00df
 EOF
 
-cat <<EOF > mm-p-2.pot
+cat <<\EOF > mm-p-2.pot
 #. location changed
 #: cogarithmetic.cc:33
 !white=
index 11f072a909abd6281665018e9ece29667054ed0d..b9222d51b263e1e396c9b2b0a9d4f9f61c04b0af 100755 (executable)
@@ -31,7 +31,7 @@ msgstr ""
 "schwarz"
 EOF
 
-cat <<EOF > mm-u-1.pot
+cat <<\EOF > mm-u-1.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 0c499c40b376b1a6d299c4f387dafcc9b6140bb9..b442b262003adb97e28346b4ad1ddbc693e9cd40 100755 (executable)
@@ -26,7 +26,7 @@ msgid "white"
 msgstr "weiß"
 EOF
 
-cat <<EOF > mm-u-2.pot
+cat <<\EOF > mm-u-2.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index a77606e69f865d163d75f7540ddbbc1b5281b235..1723659fba7465e4f1d98637e9e74a8abe12bc49 100755 (executable)
@@ -27,7 +27,7 @@ msgid "white"
 msgstr "weiß"
 EOF
 
-cat <<EOF > mm-u-3.pot
+cat <<\EOF > mm-u-3.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 8c4ea69e522c109ad037ffd12087585a45266e3a..b2b417242457d57ec04f06a48078ae3129154000 100755 (executable)
@@ -30,7 +30,7 @@ msgstr "wei
 #~ msgstr "grün"
 EOF
 
-cat <<EOF > mm-u-4.pot
+cat <<\EOF > mm-u-4.pot
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR Free Software Foundation, Inc.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 76aa6ac0ce390cbb327fab66acd5806cb642f485..995727e502ebf2127cd8184ad87e9231fb2a808f 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of general operation.
 
-cat <<EOF > mu-test1.in
+cat <<\EOF > mu-test1.in
 msgid "eight"
 msgstr "eighth"
 
index 68abd91fc272a2073879b2ca0e3a2a6889cdb1d9..64976e1e629a1820c6ce722a76bf5c815f143819 100755 (executable)
@@ -6,7 +6,7 @@
 # system-dependent strings), yields a PO file with c-format annotation, so that
 # msgfmt applied to it will again produce a .mo file of major revision 1.
 
-cat <<EOF > mu-2.in
+cat <<\EOF > mu-2.in
 #, c-format
 msgid "truncating at %<PRIuMAX> bytes in output file %s"
 msgstr "schneide bei %<PRIuMAX> Bytes in Ausgabedatei %s ab"
index 2184dbd0e0bcb75b4c1b9535fc230c9c8addb764..0d4dc445e0e2762006af545b711af7433334442f 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of general operation with Java .properties syntax.
 
-cat <<EOF > mu-p-1.in
+cat <<\EOF > mu-p-1.in
 eight=eighth
 
 five=fifth
index 2f6602c5741a4ad6b8c0f2e1dbafbd0216654c09..02d5fce46b4f6be960aced33745fc458438127c7 100755 (executable)
@@ -7,7 +7,7 @@
 ${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location "$wabs_srcdir"/plural-1-prg.c || Exit 1
 LC_ALL=C tr -d '\r' < plural-1-cake.tmp > plural-1-cake.pot || Exit 1
 
-cat <<EOF > plural-1-cake.ok
+cat <<\EOF > plural-1-cake.ok
 #, c-format
 msgid "a piece of cake"
 msgid_plural "%d pieces of cake"
@@ -18,7 +18,7 @@ EOF
 : ${DIFF=diff}
 ${DIFF} plural-1-cake.ok plural-1-cake.pot || Exit 1
 
-cat <<EOF > plural-1-fr.po
+cat <<\EOF > plural-1-fr.po
 # Les gateaux allemands sont les meilleurs du monde.
 #, c-format
 msgid "a piece of cake"
index e9ea320ab22c3ba453cc6aa96f1eec92e80c80fa..9ed76bd81a3ed177c8df50354a5df175c9815bbd 100755 (executable)
@@ -8,7 +8,7 @@ test -d plural-2-dir || mkdir plural-2-dir
 test -d plural-2-dir/ll || mkdir plural-2-dir/ll
 test -d plural-2-dir/ll/LC_MESSAGES || mkdir plural-2-dir/ll/LC_MESSAGES
 
-cat <<EOF > plural-2.data
+cat <<\EOF > plural-2.data
 ja
 0
 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
index fc225622f8cd24a347017ba5d9a8acb3c28d188e..3df4e8ea9a329d1563d3dc5a106cde59e7a7c1d0 100755 (executable)
@@ -25,7 +25,7 @@ ${XGETTEXT} --omit-header --no-location -d xg-18.tmp xg-18-a.py xg-18-b.ui \
   || Exit 1
 LC_ALL=C tr -d '\r' < xg-18.tmp.po > xg-18.po || Exit 1
 
-cat <<EOF > xg-18.ok
+cat <<\EOF > xg-18.ok
 #, python-format
 msgid "Found %(count)d warnings"
 msgstr ""
index 0535a974ce9c853ceee2e1b3a2e11e7471b515ce..6273be4326b8e595a778a474caa0e8499d81b3c8 100755 (executable)
@@ -4,7 +4,7 @@
 # Even an empty string is extracted, if not overridden by xgettext's
 # default-constructed header entry.
 
-cat <<EOF > xg-test2.in.c
+cat <<\EOF > xg-test2.in.c
 This is a test of the xgettext functionality.
 /* xgettext:no-c-format */
 _("extract me")
@@ -25,7 +25,7 @@ EOF
 ${XGETTEXT} -d xg-test2.tmp -k_ --omit-header --no-location xg-test2.in.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-test2.tmp.po > xg-test2.po || Exit 1
 
-cat <<EOF > xg-test2.ok
+cat <<\EOF > xg-test2.ok
 #, no-c-format
 msgid "extract me"
 msgstr ""
index f5e9f902c0d6816c8873816b40a6840ca2017db3..9c7fc89c5bf22c2c837091ac477a6e91f7e3c847 100755 (executable)
@@ -4,7 +4,7 @@
 # When a header entry is provided by xgettext, it overrides any msgid ""
 # present in the input.
 
-cat <<EOF > xg-test3.in.c
+cat <<\EOF > xg-test3.in.c
 This is a test of the xgettext functionality.
 /* xgettext:no-c-format */
 _("extract me")
@@ -26,7 +26,7 @@ EOF
 ${XGETTEXT} --output xg-test3.tmp --no-location -k_ xg-test3.in.c 2>/dev/null || Exit 1
 sed -e '/\"POT-Creation-Date:.*/d' < xg-test3.tmp | LC_ALL=C tr -d '\r' > xg-test3.po
 
-cat <<EOF > xg-test3.ok
+cat <<\EOF > xg-test3.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 1adae342f3bdeee12c1de72ba726fb28d7543f54..d11c2cd385c9e08feaf48915697960dfc01af6eb 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test --foreign-user
 
-cat <<EOF > xg-test4.in.c
+cat <<\EOF > xg-test4.in.c
 _("extract me")
 EOF
 
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} --output xg-test4.tmp --foreign-user --no-location -k_ xg-test4.in.c || Exit 1
 sed -e '/\"POT-Creation-Date:.*/d' < xg-test4.tmp | LC_ALL=C tr -d '\r' > xg-test4.po
 
-cat <<EOF > xg-test4.ok
+cat <<\EOF > xg-test4.ok
 # SOME DESCRIPTIVE TITLE.
 # This file is put in the public domain.
 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
index 85be8ef95a0d5bb556c1387a183cb5d10b94452a..67ec3d554c6a55f3c774bba148ea89bd2a9bce55 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test extraction of non-ASCII msgids.
 
-cat <<EOF > xg-test5.c
+cat <<\EOF > xg-test5.c
 void foo (int option)
 {
   printf (_("%s: neznámý pøepínaè -- %c\n"), option);
@@ -19,7 +19,7 @@ LC_ALL=C tr -d '\r' < xg-test5.tmp > xg-test5.po || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-test5.po > xg-test5.pot
 
-cat <<EOF > xg-test5.ok
+cat <<\EOF > xg-test5.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 8475a899dfe1ec459ba98965d79d2f4574919f99..b5319b82999b1b94337d203dc2675868168d03ad 100755 (executable)
@@ -27,7 +27,7 @@ msgid "@(#)fifo.c\t1.56 04/10/10 Copyright 1989, 1994-2003 J
 msgstr "ö"
 EOF
 
-cat <<EOF > xg-test8.in.c
+cat <<\EOF > xg-test8.in.c
 _("extract me")
 EOF
 
index 6d57e39d75737a1cb981b1c63066f79cf4fcb7f3..7f68a522739ccc727830946adb2d8b8e643da769 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of AppData support.
 
-cat <<EOF > xg-gs-1-empty.appdata.xml
+cat <<\EOF > xg-gs-1-empty.appdata.xml
 <?xml version="1.0"?>
 <component type="desktop"/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gs-1.appdata.xml
+cat <<\EOF > xg-gs-1.appdata.xml
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Copyright 2013 First Lastname <your@email.com> -->
 <component type="desktop">
@@ -60,7 +60,7 @@ EOF
 ${XGETTEXT} --add-comments -o xg-gs-1.tmp xg-gs-1.appdata.xml || Exit 1
 func_filter_POT_Creation_Date xg-gs-1.tmp xg-gs-1.pot
 
-cat <<EOF > xg-gs-1.ok
+cat <<\EOF > xg-gs-1.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 651ea4e9da6a3d9bf0fde8228eed9e7743b48e02..83039589138bbd3d770d3965a632e53f79be30dd 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test awk support: --add-comments option.
 
-cat <<EOF > xg-a-1.awk
+cat <<\EOF > xg-a-1.awk
 # This comment will not be extracted.
 print _"help"
 #  TRANSLATORS: This is an extracted comment.
@@ -20,7 +20,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-a-1.tmp xg-a-1.awk || Exit 1
 LC_ALL=C tr -d '\r' < xg-a-1.tmp.po > xg-a-1.po || Exit 1
 
-cat <<EOF > xg-a-1.ok
+cat <<\EOF > xg-a-1.ok
 msgid "help"
 msgstr ""
 
index 4c904c831dfcc6033e2659a0d2574e5eaf75fe6b..0f5d7e2f150bba4ab96d8d267d4200a4df568df2 100755 (executable)
@@ -17,7 +17,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-a-2.tmp xg-a-2.awk || Exit 1
 LC_ALL=C tr -d '\r' < xg-a-2.tmp.po > xg-a-2.po || Exit 1
 
-cat <<EOF > xg-a-2.ok
+cat <<\EOF > xg-a-2.ok
 #. a
 #. b
 #. c
index fdd37c1180064e143b9a5a9ab9dfc6da3c06d906..b8f19e0ff1055cd26ea7919a75400e95063000d2 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test awk support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-a-so-1.awk
+cat <<\EOF > xg-a-so-1.awk
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-a-so-1.tmp xg-a-so-1.awk || Exit 1
 LC_ALL=C tr -d '\r' < xg-a-so-1.tmp.po > xg-a-so-1.po || Exit 1
 
-cat <<EOF > xg-a-so-1.ok
+cat <<\EOF > xg-a-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 8e1f75c3bb42a7ab3fb00761b9a9569290ce0239..4c6690855b9953e9edb35dab8c0a285cbf8a5b7d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test awk support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-a-so-2.awk
+cat <<\EOF > xg-a-so-2.awk
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 21d742e54a98eca8fc8af9d90c13fe71bdc023ba..feb3d83fce41adc19e5947970588932410ee6d64 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: comments meant for xgettext, whitespace, and literals.
 
-cat <<EOF > xg-c-2.in.c
+cat <<\EOF > xg-c-2.in.c
 This is a test of the xgettext functionality.
 /* xgettext:no-c-format */
 _("extract me")
@@ -37,7 +37,7 @@ EOF
 ${XGETTEXT} -d xg-c-2.tmp -k_ --omit-header --no-location xg-c-2.in.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-2.tmp.po > xg-c-2.po || Exit 1
 
-cat <<EOF > xg-c-2.ok
+cat <<\EOF > xg-c-2.ok
 #, no-c-format
 msgid "extract me"
 msgstr ""
index c06c056cb47e1eaa682bf2eb00a7e753cd4d0a06..d6c7e7ed1b5a26fba75cd7f8ea08f6f40d51e281 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: recognition of #line.
 
-cat <<EOF > xg-c-3.in.c
+cat <<\EOF > xg-c-3.in.c
 #line 42 "bozo"
 main(){printf(gettext("Hello, World!\n"));}
 # 6 "clown"
@@ -14,7 +14,7 @@ EOF
 ${XGETTEXT} --omit-header --add-location -d xg-c-3.tmp xg-c-3.in.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-3.tmp.po > xg-c-3.po || Exit 1
 
-cat <<EOF > xg-c-3.ok
+cat <<\EOF > xg-c-3.ok
 #: bozo:42
 #, c-format
 msgid "Hello, World!\n"
index 9f2b1c591a0790d4d9acfa331dad5d184dab0387..ea1581ddb6ed3c147994ed600bbaa21efb9118c7 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: --trigraphs option.
 
-cat <<EOF > xg-c-4.in.c
+cat <<\EOF > xg-c-4.in.c
 main()??<printf(gettext("Hello, " "World!" "??/n"));return 0 ? a??(0??'1??) : 1??!??-a[0]??#1;????>
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location --trigraphs -d xg-c-4.tmp xg-c-4.in.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-4.tmp.po > xg-c-4.po || Exit 1
 
-cat <<EOF > xg-c-4.ok
+cat <<\EOF > xg-c-4.ok
 #, c-format
 msgid "Hello, World!\n"
 msgstr ""
index 54fab0a6a9190d9ad03560c4b57c150f4801b6e5..cf54f3a37b0e0617502be221e7c0e293ca809aee 100755 (executable)
@@ -15,7 +15,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-c-6.tmp xg-c-6.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-6.tmp.po > xg-c-6.po || Exit 1
 
-cat <<EOF > xg-c-6.ok
+cat <<\EOF > xg-c-6.ok
 #, c-format, range: 1..6
 msgid "one week and one day"
 msgid_plural "one week and %d days"
index a8cb39bdb06a7b8155fb155504d06e4ef7e61494..25cbef36866ef269a4954bee243f3d64991a007e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: comments.
 
-cat <<EOF > xg-c-comment-1.in.cc
+cat <<\EOF > xg-c-comment-1.in.cc
 main(){printf(gettext/*puke*/(/*barf*/"Hello, " "World!" "\n")); }
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-comment-1.tmp xg-c-comment-1.in.cc || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-comment-1.tmp.po > xg-c-comment-1.po || Exit 1
 
-cat <<EOF > xg-c-comment-1.ok
+cat <<\EOF > xg-c-comment-1.ok
 #. puke
 #. barf
 #, c-format
index 9eeb01fe54d4d1851c7dd64b10354a29e7095fda..e2ad9b258b5bb2f6ce04535bf4ae715da1731372 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: comments.
 
-cat <<EOF > xg-c-comment-2.c
+cat <<\EOF > xg-c-comment-2.c
 int
 main()
 {
@@ -41,7 +41,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -c --c++ -d xg-c-comment-2.tmp xg-c-comment-2.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-comment-2.tmp.po > xg-c-comment-2.po || Exit 1
 
-cat <<EOF > xg-c-comment-2.ok
+cat <<\EOF > xg-c-comment-2.ok
 #. This is a comment which immediately before a keyword.
 msgid "1"
 msgstr ""
index 0c92a7b66c9bfbc7fb7978f48f2adeee0d99e5c1..4e3a70b551650e273a511c6fa99116e903f350eb 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-c-comment-3.tmp xg-c-comment-3.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-comment-3.tmp.po > xg-c-comment-3.po || Exit 1
 
-cat <<EOF > xg-c-comment-3.ok
+cat <<\EOF > xg-c-comment-3.ok
 #. a
 #. b
 #. c
index 6c76d2f90b94110618996d6daf6e7d7f6f82e86c..a060c05bf2e1b9fcb6da465ea32dfa8cadfb02df 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: --add-comments option.
 
-cat <<EOF > xg-c-comment-4.in.C
+cat <<\EOF > xg-c-comment-4.in.C
 /* This comment will not be extracted.  */
 gettext ("help");
 
@@ -22,7 +22,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=XXX \
   -d xg-c-comment-4.tmp xg-c-comment-4.in.C || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-comment-4.tmp.po > xg-c-comment-4.po || Exit 1
 
-cat <<EOF > xg-c-comment-4.ok
+cat <<\EOF > xg-c-comment-4.ok
 msgid "help"
 msgstr ""
 
index 48d78bdba9b481606394d9f8fdfbd87639f0e893..78a90fa0ae66b7e479bc8c73027ee2bc0e525582 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: --add-comments option.
 
-cat <<EOF > xg-c-comment-5.c
+cat <<\EOF > xg-c-comment-5.c
 // This comment will not be extracted.
 print (gettext ("help"));
 //  TRANSLATORS: This is an extracted comment.
@@ -25,7 +25,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-c-comment-5.tmp xg-c-comment-5.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-comment-5.tmp.po > xg-c-comment-5.po || Exit 1
 
-cat <<EOF > xg-c-comment-5.ok
+cat <<\EOF > xg-c-comment-5.ok
 msgid "help"
 msgstr ""
 
index 5f38098c77deb8fc17d9e39e6575721d0966af03..a4cd1605c14e69cb705c28c7dedcb85a6450762a 100755 (executable)
@@ -19,7 +19,7 @@ ${XGETTEXT} --omit-header --no-location \
   -d xg-c-ctxt-1.tmp xg-c-ctxt-1.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-ctxt-1.tmp.po > xg-c-ctxt-1.po || Exit 1
 
-cat <<EOF > xg-c-ctxt-1.ok
+cat <<\EOF > xg-c-ctxt-1.ok
 msgid "help"
 msgstr ""
 
index 2df778e6fb9b40749416b8649401ffa1ffc13323..e922f9e0ed350a2dda29076394b9ee39a23710ec 100755 (executable)
@@ -19,7 +19,7 @@ ${XGETTEXT} --omit-header --no-location \
   -d xg-c-ctxt-2.tmp xg-c-ctxt-2.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-ctxt-2.tmp.po > xg-c-ctxt-2.po || Exit 1
 
-cat <<EOF > xg-c-ctxt-2.ok
+cat <<\EOF > xg-c-ctxt-2.ok
 msgid "help"
 msgstr ""
 
index ead038a22b777222582fa96773b2100338dadaf2..3a81457aaba45c9e641670db535deeccf0b44202 100755 (executable)
@@ -16,7 +16,7 @@ ${XGETTEXT} --omit-header --no-location \
   -d xg-c-ctxt-3.tmp xg-c-ctxt-3.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-ctxt-3.tmp.po > xg-c-ctxt-3.po || Exit 1
 
-cat <<EOF > xg-c-ctxt-3.ok
+cat <<\EOF > xg-c-ctxt-3.ok
 msgctxt "Printer"
 msgid "Open"
 msgstr ""
index ffc0f1b5416db1cd7e71d8214a79c3cd496e9a51..98c272a7dcb15f1f632ed415f75d262e87cae085 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-c-format-1.tmp xg-c-format-1.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-format-1.tmp.po > xg-c-format-1.po || Exit 1
 
-cat <<EOF > xg-c-format-1.ok
+cat <<\EOF > xg-c-format-1.ok
 msgid "%1% on, %2% off"
 msgstr ""
 EOF
index b1f92320f4e1c237d8486bf69b11bcd66856b2cf..389f388d01f193c38d3e986354ad6db4dd4cad5a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test recognition of ISO C 99 <inttypes.h> format string directives.
 
-cat <<EOF > xg-c-format-2.c
+cat <<\EOF > xg-c-format-2.c
 void foo ()
 {
   printf (_("File size is: %" PRId64), size);
@@ -17,7 +17,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -k_ -o xg-c-format-2.tmp xg-c-format-2.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-format-2.tmp > xg-c-format-2.po || Exit 1
 
-cat <<EOF > xg-c-format-2.ok
+cat <<\EOF > xg-c-format-2.ok
 #, c-format
 msgid "File size is: %<PRId64>"
 msgstr ""
index e3a58d3d8a363acb1de89730794bf7bff9d2304d..dc49ffdc3a68e7c30116c5461102468f8662f24a 100755 (executable)
@@ -18,7 +18,7 @@ ${XGETTEXT} --omit-header --no-location -d xg-c-format-3.tmp \
   xg-c-format-3.cc || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-format-3.tmp.po > xg-c-format-3.po || Exit 1
 
-cat <<EOF > xg-c-format-3.ok
+cat <<\EOF > xg-c-format-3.ok
 #, qt-format
 msgid "on"
 msgstr ""
index 021573abd8b161ad8072784054740ea8369b5885..212604b3cac8ae9b6c63fabb7cbb766853780197 100755 (executable)
@@ -19,7 +19,7 @@ ${XGETTEXT} --omit-header --no-location -d xg-c-format-4.tmp --language=C++ --kd
   xg-c-format-4.cc || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-format-4.tmp.po > xg-c-format-4.po || Exit 1
 
-cat <<EOF > xg-c-format-4.ok
+cat <<\EOF > xg-c-format-4.ok
 #, c-format, kde-format
 msgid "used time: %1m %2s"
 msgstr ""
index f08b67f40757aa5b3b5e9766ed585d561b93af54..bee4ae3492fc14e902036b7e1a0db0c3da1fada7 100755 (executable)
@@ -18,7 +18,7 @@ ${XGETTEXT} --omit-header --no-location -kQ_ -kX_ \
             -d xg-c-format-6.tmp xg-c-format-6.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-format-6.tmp.po > xg-c-format-6.po || Exit 1
 
-cat <<EOF > xg-c-format-6.ok
+cat <<\EOF > xg-c-format-6.ok
 #, c-format
 msgid "blablaQ %d and %s"
 msgstr ""
index 98060c45efe19bdacf8c23ee0258630325ebc9aa..04f68d941d1147685398931b92fb03a713b50c77 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-c-so-1.c
+cat <<\EOF > xg-c-so-1.c
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-c-so-1.tmp xg-c-so-1.c || Exit 1
 LC_ALL=C tr -d '\r' < xg-c-so-1.tmp.po > xg-c-so-1.po || Exit 1
 
-cat <<EOF > xg-c-so-1.ok
+cat <<\EOF > xg-c-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 7f37795dfba2a9f4d80a1bedc95c51c944e3bd4d..68f46069e523816580605a842d30e3c032e3689d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-c-so-2.c
+cat <<\EOF > xg-c-so-2.c
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 70e02a7aa56b80ef76cf36b27679f6824e9a34e0..f2131ac2a023c9b199d9003cb19ae1ff8b02f63a 100755 (executable)
@@ -3,11 +3,11 @@
 
 # Test combining of POT files by merging them.
 
-cat <<EOF > xg-co-test1-a.c
+cat <<\EOF > xg-co-test1-a.c
 void f () { gettext ("foobar"); }
 EOF
 
-cat <<EOF > xg-co-test1-b.py
+cat <<\EOF > xg-co-test1-b.py
 print gettext.gettext("sumsum");
 EOF
 
@@ -20,7 +20,7 @@ LC_ALL=C tr -d '\r' < xg-co-test1-all.tmp1 > xg-co-test1-all.tmp2 || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-co-test1-all.tmp2 > xg-co-test1-all.pot
 
-cat <<EOF > xg-co-test1.ok
+cat <<\EOF > xg-co-test1.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 4c5fb7b535a76022fc2a55577a99f0901ea51aef..0ee950c6b2f843c61de3d4e249979abf8c21f765 100755 (executable)
@@ -4,11 +4,11 @@
 # Test combining of POT files by using the -j option on a file with
 # suffix ".pot".
 
-cat <<EOF > xg-co-test2-a.c
+cat <<\EOF > xg-co-test2-a.c
 void f () { gettext ("foobar"); }
 EOF
 
-cat <<EOF > xg-co-test2-b.py
+cat <<\EOF > xg-co-test2-b.py
 print gettext.gettext("sumsum");
 EOF
 
@@ -20,7 +20,7 @@ LC_ALL=C tr -d '\r' < xg-co-test2-all-tmp.pot > xg-co-test2-all.tmp2 || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-co-test2-all.tmp2 > xg-co-test2-all.pot
 
-cat <<EOF > xg-co-test2.ok
+cat <<\EOF > xg-co-test2.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 1fd33f1f384343ad9c323fbea88bf228eeb90c41..a0e66fe36669929f62c80ab2f3fcee6479712555 100755 (executable)
@@ -5,11 +5,11 @@
 # suffix, e.g. with suffix ".po" (as generated by the --default-domain option).
 # <https://savannah.gnu.org/bugs/?64490>
 
-cat <<EOF > xg-co-test3-a.c
+cat <<\EOF > xg-co-test3-a.c
 void f () { gettext ("foobar"); }
 EOF
 
-cat <<EOF > xg-co-test3-b.py
+cat <<\EOF > xg-co-test3-b.py
 print gettext.gettext("sumsum");
 EOF
 
@@ -21,7 +21,7 @@ LC_ALL=C tr -d '\r' < xg-co-test3-all-tmp.po > xg-co-test3-all.tmp2 || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-co-test3-all.tmp2 > xg-co-test3-all.pot
 
-cat <<EOF > xg-co-test3.ok
+cat <<\EOF > xg-co-test3.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index cbb3c32f64baadc9edcf9adc752351bdd20c40e3..92f149707a5c3d4ce04216235b74dc7fa64ee7a5 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Some tests for C# support
 
-cat <<EOF > xg-cs-1.cs
+cat <<\EOF > xg-cs-1.cs
 using GNU.Gettext;
 class TestCase {
   public TestCase() {
@@ -34,7 +34,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -c -d xg-cs-1.tmp xg-cs-1.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-1.tmp.po > xg-cs-1.po || Exit 1
 
-cat <<EOF > xg-cs-1.ok
+cat <<\EOF > xg-cs-1.ok
 #. standard usage
 msgid "Test String 1"
 msgstr ""
index 1fc2ef0c6e7059748bb2efc3d4a3f6e06e6e0e83..426f6fc0929cfcfe3f6ea4133f12098c41b73ab0 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Tests for C# plural keyword support
 
-cat <<EOF > xg-cs-4.cs
+cat <<\EOF > xg-cs-4.cs
 class TestCase {
   public static void Main (String[] args) {
     GetPluralString("test 1", "plural test");
@@ -17,7 +17,7 @@ ${XGETTEXT} --omit-header --no-location --keyword=MyPluralString:2,3 \
   -d xg-cs-4.tmp xg-cs-4.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-4.tmp.po > xg-cs-4.po || Exit 1
 
-cat <<EOF > xg-cs-4.ok
+cat <<\EOF > xg-cs-4.ok
 msgid "test 1"
 msgid_plural "plural test"
 msgstr[0] ""
index 2d6b0c41d6f82148e4f6e6f47c1a406d07511f35..a3fd3ec44ecc7428f3ef82a38be78fae626b0a08 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C# support: --add-comments option.
 
-cat <<EOF > xg-cs-5.cs
+cat <<\EOF > xg-cs-5.cs
 // This comment will not be extracted.
 Console.WriteLine(GetString("help"));
 //  TRANSLATORS: This is an extracted comment.
@@ -25,7 +25,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-cs-5.tmp xg-cs-5.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-5.tmp.po > xg-cs-5.po || Exit 1
 
-cat <<EOF > xg-cs-5.ok
+cat <<\EOF > xg-cs-5.ok
 msgid "help"
 msgstr ""
 
index 83cf7e529e087a73667715e5b8c582eee98f24b2..84dc210cf238e3cde2b7120f2ff28e280f311bb4 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-cs-6.tmp xg-cs-6.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-6.tmp.po > xg-cs-6.po || Exit 1
 
-cat <<EOF > xg-cs-6.ok
+cat <<\EOF > xg-cs-6.ok
 #. a
 #. b
 #. c
index 6cb31f20ecf61c9c246c6cd8a142282e2af3e348..64d675b2055f925b9de31c036c92ea043cc7b35b 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-cs-7.tmp xg-cs-7.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-7.tmp.po > xg-cs-7.po || Exit 1
 
-cat <<EOF > xg-cs-7.ok
+cat <<\EOF > xg-cs-7.ok
 msgid "help"
 msgstr ""
 
index 9bdb27e53c4156432683081c82c4d27ea982a794..2b1da6e05eda3472be8c5b3b2ea8e05066785875 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C# support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-cs-so-1.cs
+cat <<\EOF > xg-cs-so-1.cs
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-cs-so-1.tmp xg-cs-so-1.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-so-1.tmp.po > xg-cs-so-1.po || Exit 1
 
-cat <<EOF > xg-cs-so-1.ok
+cat <<\EOF > xg-cs-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 6fb475b7d39d5571ffe7e13b4ce6c16dcb9fc907..206eda90a63f605b5b315ccc0d2a2ce40599a457 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C# support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-cs-so-2.cs
+cat <<\EOF > xg-cs-so-2.cs
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index f1c4c7413a0f1223a752fbef4407de55808e9147..704ed459ad3667678ec49de316ffdf728e196368 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C# support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-cs-so-3.cs
+cat <<\EOF > xg-cs-so-3.cs
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-cs-so-3.tmp xg-cs-so-3.cs || Exit 1
 LC_ALL=C tr -d '\r' < xg-cs-so-3.tmp.po > xg-cs-so-3.po || Exit 1
 
-cat <<EOF > xg-cs-so-3.ok
+cat <<\EOF > xg-cs-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 629390809530334204b2c56c155d4f8c60a750d4..cbb5d35fbfbae5af673eb76f1160ab7bd56e997b 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C# support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-cs-so-4.cs
+cat <<\EOF > xg-cs-so-4.cs
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
index ccb75bcf277440f699b5bd6a185682371f11c14d..0a7ad13b65c100fc2d149bd573dd1679ea16ceab 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test EmacsLisp support: --add-comments option.
 
-cat <<EOF > xg-el-1.el
+cat <<\EOF > xg-el-1.el
 ; This comment will not be extracted.
 (princ (_ "help"))
 ;;  TRANSLATORS: This is an extracted comment.
@@ -20,7 +20,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-el-1.tmp xg-el-1.el || Exit 1
 LC_ALL=C tr -d '\r' < xg-el-1.tmp.po > xg-el-1.po || Exit 1
 
-cat <<EOF > xg-el-1.ok
+cat <<\EOF > xg-el-1.ok
 msgid "help"
 msgstr ""
 
index e67811d44d8bff795fdaa255e9bf7f7ac614816f..4d28738331fe4e10edde28f7b9afa1902e6a7956 100755 (executable)
@@ -18,7 +18,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-el-2.tmp xg-el-2.el || Exit 1
 LC_ALL=C tr -d '\r' < xg-el-2.tmp.po > xg-el-2.po || Exit 1
 
-cat <<EOF > xg-el-2.ok
+cat <<\EOF > xg-el-2.ok
 #. a
 #. b
 #. c
index 5b7c9bc302c4e6f64bb1095fb8160af93ea6e7d7..2083c584f64886076b64de13fc43bb4fb4eef04c 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test EmacsLisp support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-el-so-1.el
+cat <<\EOF > xg-el-so-1.el
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-el-so-1.tmp xg-el-so-1.el || Exit 1
 LC_ALL=C tr -d '\r' < xg-el-so-1.tmp.po > xg-el-so-1.po || Exit 1
 
-cat <<EOF > xg-el-so-1.ok
+cat <<\EOF > xg-el-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index a8cbcb19cd5b402b877308e39785e8fa8d77e8d0..cdb1cf47d841b9eefee504b4f16569cc1f2b11d9 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test EmacsLisp support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-el-so-2.el
+cat <<\EOF > xg-el-so-2.el
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 66bab03ee9647a27380c441400fcaec9ece13db8..1a6a5c199a0df2f4ab6a39eb6cf1bf8103c642b7 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of Glade support.
 
-cat <<EOF > xg-gl-1-empty.glade
+cat <<\EOF > xg-gl-1-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-1-widgets.glade
+cat <<\EOF > xg-gl-1-widgets.glade
 <?xml version="1.0"?>
 <GTK-Interface>
 
@@ -1333,7 +1333,7 @@ EOF
 ${XGETTEXT} --add-comments -o xg-gl-1.tmp xg-gl-1-widgets.glade || Exit 1
 func_filter_POT_Creation_Date xg-gl-1.tmp xg-gl-1.pot
 
-cat <<EOF > xg-gl-1.ok
+cat <<\EOF > xg-gl-1.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index d6856f2f5fc2998d68fd42f77674c1c997152cc9..7917d503c33e31214273263833e5463481792691 100755 (executable)
@@ -4,7 +4,7 @@
 # Test of Glade support, in particular ISO-8859-1 to UTF-8 conversion
 # and ASCII entities (&lt; &gt; &quot;).
 
-cat <<EOF > xg-gl-2-empty.glade
+cat <<\EOF > xg-gl-2-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
index 5e62888649534b3f6d5b5a6c56c272a4ab514c1d..1d2fb643ef2b325607a21e0937301748103b9595 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of Glade 2 support.
 
-cat <<EOF > xg-gl-3-empty.glade
+cat <<\EOF > xg-gl-3-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-3-asciitable.glade2
+cat <<\EOF > xg-gl-3-asciitable.glade2
 <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd" >
 
index b9cbd3cba347ea6284474cd09ed64e8df2a16249..03eda94de0084e0e758a07d40f0beda764fc24d9 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of Glade 2 support.
 
-cat <<EOF > xg-gl-4-empty.glade
+cat <<\EOF > xg-gl-4-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-4.glade
+cat <<\EOF > xg-gl-4.glade
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
 <!--Generated with glade3 3.4.3 on Sat May 16 19:53:48 2009 -->
@@ -71,7 +71,7 @@ test $result = 0 || {
     rm -fr $tempfiles; exit $result
 }
 
-cat <<EOF > xg-gl-4a.glade
+cat <<\EOF > xg-gl-4a.glade
 <?xml version="1.0"?>
 <glade-interface>
   <!-- interface-requires gtk+ 2.6 -->
index 05719259b16cedd139348b9b210175480b5f5151..01b17826f0d3b631d0d6d6cf14dacc072fabf132 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of Glade 2 support for msgctxt.
 
-cat <<EOF > xg-gl-5-empty.glade
+cat <<\EOF > xg-gl-5-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-5.glade
+cat <<\EOF > xg-gl-5.glade
 <?xml version="1.0"?>
 <glade-interface>
   <!-- interface-requires gtk+ 2.8 -->
@@ -106,7 +106,7 @@ test $result = 0 || {
   exit $result
 }
 
-cat <<EOF > xg-gl-5b.glade
+cat <<\EOF > xg-gl-5b.glade
 <?xml version="1.0"?>
 <glade-interface>
   <!-- interface-requires gtk+ 2.8 -->
index 84d15ae9bcfaabc98f78fcfac97b1c9340865279..208111a90eec7041402f061e348b1fce0b33bf37 100755 (executable)
@@ -5,7 +5,7 @@
 # Checks that the extracted pot contains the right translatable
 # content, comments and context.
 
-cat <<EOF > xg-gl-6-empty.glade
+cat <<\EOF > xg-gl-6-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -17,7 +17,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-6.ui
+cat <<\EOF > xg-gl-6.ui
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
@@ -35,7 +35,7 @@ EOF
 ${XGETTEXT} -o xg-gl-6.tmp xg-gl-6.ui || Exit 1
 func_filter_POT_Creation_Date xg-gl-6.tmp xg-gl-6.pot
 
-cat <<EOF > xg-gl-6.ok
+cat <<\EOF > xg-gl-6.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 5d751bf2ab8a209c407d48961ed000a2bc871d13..f25c48c28bb968f0055c21abb085b280fe08debe 100755 (executable)
@@ -5,7 +5,7 @@
 # Checks the extraction of a medium size GtkBuilder file, with
 # comments, context and translatable and not translatable content.
 
-cat <<EOF > xg-gl-7-empty.glade
+cat <<\EOF > xg-gl-7-empty.glade
 <?xml version="1.0"?>
 <GTK-Interface/>
 EOF
@@ -17,7 +17,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gl-7.ui
+cat <<\EOF > xg-gl-7.ui
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
index 6befd96a4454ccc00db388be9fd5b58864f9ce68..1bce4daf11ac5f4ac56adc08bb3c41d779d3c6fb 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test of GSettings support.
 
-cat <<EOF > xg-gs-1-empty.gschema.xml
+cat <<\EOF > xg-gs-1-empty.gschema.xml
 <?xml version="1.0"?>
 <schemalist/>
 EOF
@@ -15,7 +15,7 @@ test $? = 0 || {
   Exit 77
 }
 
-cat <<EOF > xg-gs-1.gschema.xml
+cat <<\EOF > xg-gs-1.gschema.xml
 <?xml version="1.0"?>
 <schemalist>
   <schema id="org.gnome.example" path="/org/gnome/example/">
@@ -46,7 +46,7 @@ EOF
 ${XGETTEXT} --add-comments -o xg-gs-1.tmp xg-gs-1.gschema.xml || Exit 1
 func_filter_POT_Creation_Date xg-gs-1.tmp xg-gs-1.pot
 
-cat <<EOF > xg-gs-1.ok
+cat <<\EOF > xg-gs-1.ok
 # SOME DESCRIPTIVE TITLE.
 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
 # This file is distributed under the same license as the PACKAGE package.
index 53fb5ee0f00cda30c6c20b4d72b585806c3e9480..50a1bc4c6240ced8b582b6001685087085d46172 100755 (executable)
@@ -4,7 +4,7 @@
 # Some tests for java support
 #
 
-cat <<EOF > xg-j-1.java
+cat <<\EOF > xg-j-1.java
 class TestCase {
     public TestCase() {
         ResourceBundle b = ResourceBundle.getBundle("test");
@@ -32,7 +32,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -c -d xg-j-1.tmp xg-j-1.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-1.tmp.po > xg-j-1.po || Exit 1
 
-cat <<EOF > xg-j-1.ok
+cat <<\EOF > xg-j-1.ok
 #. standard usage
 msgid "Test String 1"
 msgstr ""
index b10ccaa7ee49ac435a53f2ad478f32b03a3dfd3b..74d43ae7033f8d7cd0b3976d96aa91125500b5d0 100755 (executable)
@@ -4,7 +4,7 @@
 # Some tests for java plural keyword support
 #
 
-cat <<EOF > xg-j-3.java
+cat <<\EOF > xg-j-3.java
 class TestCase {
     public TestCase() {
         Bundle test = Bundle.getBundle();
@@ -17,7 +17,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-j-3.tmp xg-j-3.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-3.tmp.po > xg-j-3.po || Exit 1
 
-cat <<EOF > xg-j-3.ok
+cat <<\EOF > xg-j-3.ok
 msgid "test 1"
 msgid_plural "plural test"
 msgstr[0] ""
index 321eadaeb53a88f624586ca73c50c0c74f0cc22a..e4c88a23a4af36912240d5ce34110e8c53f3d95c 100755 (executable)
@@ -4,7 +4,7 @@
 # Some tests for java plural keyword support
 #
 
-cat <<EOF > xg-j-4.java
+cat <<\EOF > xg-j-4.java
 class TestCase {
     public TestCase() {
         Bundle test = Bundle.getBundle();
@@ -18,7 +18,7 @@ ${XGETTEXT} --omit-header --no-location --keyword=ngettext:2,3 \
   -d xg-j-4.tmp xg-j-4.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-4.tmp.po > xg-j-4.po || Exit 1
 
-cat <<EOF > xg-j-4.ok
+cat <<\EOF > xg-j-4.ok
 msgid "test 1"
 msgid_plural "plural test"
 msgstr[0] ""
index bd9587fbfd384438ca07bbdb7dc7dbff8bc8d6ba..c7240f2c181374cb62ca88fe446180044b83accf 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Java support: --add-comments option.
 
-cat <<EOF > xg-j-5.java
+cat <<\EOF > xg-j-5.java
 // This comment will not be extracted.
 System.out.println(gettext("help"));
 //  TRANSLATORS: This is an extracted comment.
@@ -25,7 +25,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-j-5.tmp xg-j-5.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-5.tmp.po > xg-j-5.po || Exit 1
 
-cat <<EOF > xg-j-5.ok
+cat <<\EOF > xg-j-5.ok
 msgid "help"
 msgstr ""
 
index 066cfca4e789a1ff461e7329658a5c3f4a620c9d..47d7de3aec4e28a050096ed7139579080f32c71e 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-j-6.tmp xg-j-6.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-6.tmp.po > xg-j-6.po || Exit 1
 
-cat <<EOF > xg-j-6.ok
+cat <<\EOF > xg-j-6.ok
 #. a
 #. b
 #. c
index b61680cf887cf58b28623c2a1c8c577b21dd0ba3..caf730200c2e78c35ff5ec10e7b69c4604c9c39b 100755 (executable)
@@ -13,7 +13,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-j-7.tmp xg-j-7.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-7.tmp.po > xg-j-7.po || Exit 1
 
-cat <<EOF > xg-j-7.ok
+cat <<\EOF > xg-j-7.ok
 msgid "help"
 msgstr ""
 
index 3471ecca01b2770bb1e946288daa1eaf61c07177..df066b014702c467a9dd445b8ece082a78e39c33 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Java support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-j-so-1.java
+cat <<\EOF > xg-j-so-1.java
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-j-so-1.tmp xg-j-so-1.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-so-1.tmp.po > xg-j-so-1.po || Exit 1
 
-cat <<EOF > xg-j-so-1.ok
+cat <<\EOF > xg-j-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 7939d836fc415756596625ece919c5d8ce460af8..e134c2766c31143ee0c1ea7e10ed724029a09c4f 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Java support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-j-so-2.java
+cat <<\EOF > xg-j-so-2.java
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index ab39764f6421e697b8e55032804e775ff5717d10..3fa2240b1d86e4c8733a95fd3770879246c3b62c 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Java support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-j-so-3.java
+cat <<\EOF > xg-j-so-3.java
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-j-so-3.tmp xg-j-so-3.java || Exit 1
 LC_ALL=C tr -d '\r' < xg-j-so-3.tmp.po > xg-j-so-3.po || Exit 1
 
-cat <<EOF > xg-j-so-3.ok
+cat <<\EOF > xg-j-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 63002c3b63367cdb6d6592fe8a0c71247f95e191..b2a6e45db482db1a9df414e38225d94e5b942cd6 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Java support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-j-so-4.java
+cat <<\EOF > xg-j-so-4.java
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
index 3fd583a1c22f395c9e46ccbdef4aee1eb52d7cad..8025ca6f85d39492004cff3e8028c0debff91824 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-1.js
+cat <<\EOF > xg-js-so-1.js
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-js-so-1.tmp xg-js-so-1.js || Exit 1
 LC_ALL=C tr -d '\r' < xg-js-so-1.tmp.po > xg-js-so-1.po || Exit 1
 
-cat <<EOF > xg-js-so-1.ok
+cat <<\EOF > xg-js-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index f8940f98e70bc5c1f856a8f67a0839d24c2edfb3..817b79c22975235fee65404be89e69786ee46358 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-2.js
+cat <<\EOF > xg-js-so-2.js
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 53e39e46df02f13bff22e5a77a3bc7bad59387d0..90d3aa9cd0f52ebd6aca33b99961057e7fbd09a1 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-3.js
+cat <<\EOF > xg-js-so-3.js
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-js-so-3.tmp xg-js-so-3.js || Exit 1
 LC_ALL=C tr -d '\r' < xg-js-so-3.tmp.po > xg-js-so-3.po || Exit 1
 
-cat <<EOF > xg-js-so-3.ok
+cat <<\EOF > xg-js-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 664a81f62389c5ef58cec3b148aa4065c70fcb5c..4787037492114d013e30ebbcb500a7e3a84fd6a9 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-4.js
+cat <<\EOF > xg-js-so-4.js
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
index 134a82c04afd019327a516ced120d781103fa977..84e7c035c6a673fcda0ebeab19a246b07f4382f3 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-5.js
+cat <<\EOF > xg-js-so-5.js
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-js-so-5.tmp xg-js-so-5.js || Exit 1
 LC_ALL=C tr -d '\r' < xg-js-so-5.tmp.po > xg-js-so-5.po || Exit 1
 
-cat <<EOF > xg-js-so-5.ok
+cat <<\EOF > xg-js-so-5.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 550ce882d13469c65119603b1f3d63f447b003a8..68df9adec45de41b6bee1f03064706ebd08d1e50 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-6.js
+cat <<\EOF > xg-js-so-6.js
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
index 2af1e13b43c3e08f6d4a0eba67cac7021445031e..5209609f0f09eacb20c0060be8c3f72be437472c 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-7.js
+cat <<\EOF > xg-js-so-7.js
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
@@ -111,7 +111,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-js-so-7.tmp xg-js-so-7.js || Exit 1
 LC_ALL=C tr -d '\r' < xg-js-so-7.tmp.po > xg-js-so-7.po || Exit 1
 
-cat <<EOF > xg-js-so-7.ok
+cat <<\EOF > xg-js-so-7.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 5d3c617fe540586d4f5948cd6d07e31fec6aee7f..3895770705268d426e1f3c4899d2b9b89c9432d0 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test JavaScript support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-js-so-8.js
+cat <<\EOF > xg-js-so-8.js
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
 <x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x><x>
index fa89f949dc7be6527119c55b52047b903c6398c6..dd5a9c25803e6a54d1d6be0493c6ed7f4ebde52a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test librep support: --add-comments option.
 
-cat <<EOF > xg-lr-1.jl
+cat <<\EOF > xg-lr-1.jl
 ; This comment will not be extracted.
 (princ (_ "help"))
 ;;  TRANSLATORS: This is an extracted comment.
@@ -21,7 +21,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-lr-1.tmp xg-lr-1.jl || Exit 1
 LC_ALL=C tr -d '\r' < xg-lr-1.tmp.po > xg-lr-1.po || Exit 1
 
-cat <<EOF > xg-lr-1.ok
+cat <<\EOF > xg-lr-1.ok
 msgid "help"
 msgstr ""
 
index 7397a08297d9c10687de251542f599249dc6c1fd..693248a6f84947a3cd0a97730ec1d3bcd3f202db 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-lr-2.tmp xg-lr-2.jl || Exit 1
 LC_ALL=C tr -d '\r' < xg-lr-2.tmp.po > xg-lr-2.po || Exit 1
 
-cat <<EOF > xg-lr-2.ok
+cat <<\EOF > xg-lr-2.ok
 #. a
 #. b
 #. c
index 11fe30aad712d9ad75477b9cb92675d7f6db2313..1b2fc3d985ca453bf05abf4f212654227b9d79c7 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test librep support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lr-so-1.jl
+cat <<\EOF > xg-lr-so-1.jl
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-lr-so-1.tmp xg-lr-so-1.jl || Exit 1
 LC_ALL=C tr -d '\r' < xg-lr-so-1.tmp.po > xg-lr-so-1.po || Exit 1
 
-cat <<EOF > xg-lr-so-1.ok
+cat <<\EOF > xg-lr-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 24c6434968f6497b196a24604fdccd4b34baa2d2..0cb7bd7295240bc24f08de401d38886e97144772 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test librep support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lr-so-2.jl
+cat <<\EOF > xg-lr-so-2.jl
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index acbf3c5b7e584a08bb10ab0d259c31f46ec15dfd..5445746d298de02dd7fb96ab5f3743c9d2c21912 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: --add-comments option.
 
-cat <<EOF > xg-ls-1.lisp
+cat <<\EOF > xg-ls-1.lisp
 ; This comment will not be extracted.
 (write-line (gettext "help"))
 ;;  TRANSLATORS: This is an extracted comment.
@@ -21,7 +21,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-ls-1.tmp xg-ls-1.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-1.tmp.po > xg-ls-1.po || Exit 1
 
-cat <<EOF > xg-ls-1.ok
+cat <<\EOF > xg-ls-1.ok
 msgid "help"
 msgstr ""
 
index 434336a16e34605ca5fa9353fcefab5a6b388ecc..3144d58199585bef33cdb98aad035287bffd7a54 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-ls-2.tmp xg-ls-2.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-2.tmp.po > xg-ls-2.po || Exit 1
 
-cat <<EOF > xg-ls-2.ok
+cat <<\EOF > xg-ls-2.ok
 #. a
 #. b
 #. c
index 901c245a789f98f16b01c72863448ff0beef9f23..e33d1420b4e746d93696e67815092c6a8ec2f67a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: lisp-format string with a loop.
 
-cat <<EOF > xg-ls-3.lisp
+cat <<\EOF > xg-ls-3.lisp
 (gettext "~{~*~}")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ls-3.tmp xg-ls-3.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-3.tmp.po > xg-ls-3.po || Exit 1
 
-cat <<EOF > xg-ls-3.ok
+cat <<\EOF > xg-ls-3.ok
 #, lisp-format
 msgid "~{~*~}"
 msgstr ""
index b8d8b6bfa66c2616db8ec53c956cbfc19ed98535..1f47d6febefedd97fd3974911cb47069cb676f28 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: lisp-format string with a complex nested loop.
 
-cat <<EOF > xg-ls-4.lisp
+cat <<\EOF > xg-ls-4.lisp
 (gettext "A~0{B~0b~,v*C~:*D~,v*E~,v*F~0{G~0{H~}I~}J~^~}K")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ls-4.tmp xg-ls-4.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-4.tmp.po > xg-ls-4.po || Exit 1
 
-cat <<EOF > xg-ls-4.ok
+cat <<\EOF > xg-ls-4.ok
 #, lisp-format
 msgid "A~0{B~0b~,v*C~:*D~,v*E~,v*F~0{G~0{H~}I~}J~^~}K"
 msgstr ""
index 0818128d47d6d154837a0441dc9a331cf3a2db98..4d1edecd6b558e85a795fc4039ec0085a6c1aaf8 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: lisp-format string with a ~V at an unknown position.
 
-cat <<EOF > xg-ls-5.lisp
+cat <<\EOF > xg-ls-5.lisp
 (gettext "~@?~v!")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ls-5.tmp xg-ls-5.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-5.tmp.po > xg-ls-5.po || Exit 1
 
-cat <<EOF > xg-ls-5.ok
+cat <<\EOF > xg-ls-5.ok
 #, lisp-format
 msgid "~@?~v!"
 msgstr ""
index bcfbff7d6c259d3ea72d1039ff64f1ab7d997739..c5563c24ab6d63803eec2ab1a328e1694370ed3b 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: lisp-format string with initial arguments and a loop.
 
-cat <<EOF > xg-ls-6.lisp
+cat <<\EOF > xg-ls-6.lisp
 (gettext "~{~}~^~:*~@{~,v*~w~}")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ls-6.tmp xg-ls-6.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-6.tmp.po > xg-ls-6.po || Exit 1
 
-cat <<EOF > xg-ls-6.ok
+cat <<\EOF > xg-ls-6.ok
 #, lisp-format
 msgid "~{~}~^~:*~@{~,v*~w~}"
 msgstr ""
index fe7635ec4ac7d0cb6a35f092680f4efa87ffb45c..87570464370e87563a6c6372be4a22b28e9a7a63 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ls-so-1.lisp
+cat <<\EOF > xg-ls-so-1.lisp
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ls-so-1.tmp xg-ls-so-1.lisp || Exit 1
 LC_ALL=C tr -d '\r' < xg-ls-so-1.tmp.po > xg-ls-so-1.po || Exit 1
 
-cat <<EOF > xg-ls-so-1.ok
+cat <<\EOF > xg-ls-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index b025a92cd6be2c35041a7fec0ce049ec4bd89995..ffc51c8b530b13484cac8fc6c2f72f49d69e5467 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lisp support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ls-so-2.lisp
+cat <<\EOF > xg-ls-so-2.lisp
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 7e4715fbcbc4708c1969a158459a417092f14a84..270d7e22434ce9eb380f467bfc70e1acf5eda1a4 100755 (executable)
@@ -38,7 +38,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-lu-1.tmp xg-lu-1.lua || Exit 1
 LC_ALL=C tr -d '\r' < xg-lu-1.tmp.po > xg-lu-1.po || Exit 1
 
-cat <<EOF > xg-lu-1.ok
+cat <<\EOF > xg-lu-1.ok
 msgid "This is a test string."
 msgstr ""
 
index c92cad4e3c7d3f461d4405971b8465eeb1f75821..df82135eff94248e98551ad38a3d678fb1e56be3 100755 (executable)
@@ -28,7 +28,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-lu-2.tmp xg-lu-2.lua || Exit 1
 LC_ALL=C tr -d '\r' < xg-lu-2.tmp.po > xg-lu-2.po || Exit 1
 
-cat <<EOF > xg-lu-2.ok
+cat <<\EOF > xg-lu-2.ok
 msgid "Hmm."
 msgstr ""
 
index 227855b63f0a0be39f9db1288399aadddf19b82d..764fb201c8417c3d9a488ce91f32517868f1631e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lua support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lu-so-1.lua
+cat <<\EOF > xg-lu-so-1.lua
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-lu-so-1.tmp xg-lu-so-1.lua || Exit 1
 LC_ALL=C tr -d '\r' < xg-lu-so-1.tmp.po > xg-lu-so-1.po || Exit 1
 
-cat <<EOF > xg-lu-so-1.ok
+cat <<\EOF > xg-lu-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index eab9fd1696a7398b51bdb1dcca27163ea4f3fbc5..faa5e9a9cc0afa8148cb540651d91592b83c6072 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lua support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lu-so-2.lua
+cat <<\EOF > xg-lu-so-2.lua
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 723f03012257c88d48ec572c3d56ea1267262b1c..4020f2bdae6326c05bd65c822aa9bcee559992a8 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lua support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lu-so-3.lua
+cat <<\EOF > xg-lu-so-3.lua
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
@@ -71,7 +71,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-lu-so-3.tmp xg-lu-so-3.lua || Exit 1
 LC_ALL=C tr -d '\r' < xg-lu-so-3.tmp.po > xg-lu-so-3.po || Exit 1
 
-cat <<EOF > xg-lu-so-3.ok
+cat <<\EOF > xg-lu-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 05a5e2dfab0c6e81e0f8d36c5d8154bb33c9e4a6..fe8b5d7f29c48ba6ba29bbff278ab9974150e67e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Lua support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-lu-so-4.lua
+cat <<\EOF > xg-lu-so-4.lua
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
 [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [
index 21d174c20296d61f07ec29dc7877c3210fa72811..c9a9bc8f65c0583e559130daf68faaf017fd24a5 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test ObjectiveC support: --add-comments option.
 
-cat <<EOF > xg-ob-2.m
+cat <<\EOF > xg-ob-2.m
 // This comment will not be extracted.
 print (NSLocalizedString (@
 "help"));
@@ -29,7 +29,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-ob-2.tmp xg-ob-2.m || Exit 1
 LC_ALL=C tr -d '\r' < xg-ob-2.tmp.po > xg-ob-2.po || Exit 1
 
-cat <<EOF > xg-ob-2.ok
+cat <<\EOF > xg-ob-2.ok
 msgid "help"
 msgstr ""
 
index cc83907ae247d58d0071c235d6e73056e20aeff0..6e7bb6308b827d045bcf9a8cc3f5b93283462b98 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Perl support: --add-comments option.
 
-cat <<EOF > xg-pl-5.pl
+cat <<\EOF > xg-pl-5.pl
 # This comment will not be extracted.
 print gettext "help";
 #  TRANSLATORS: This is an extracted comment.
@@ -20,7 +20,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-pl-5.tmp xg-pl-5.pl || Exit 1
 LC_ALL=C tr -d '\r' < xg-pl-5.tmp.po > xg-pl-5.po || Exit 1
 
-cat <<EOF > xg-pl-5.ok
+cat <<\EOF > xg-pl-5.ok
 msgid "help"
 msgstr ""
 
index 6918587b43929dd09317ece21a4de1e849c980af..fafbef260ee0a6b6d1cd3343d12e9bdbe73c355c 100755 (executable)
@@ -19,7 +19,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-pl-7.tmp xg-pl-7.pl || Exit 1
 LC_ALL=C tr -d '\r' < xg-pl-7.tmp.po > xg-pl-7.po || Exit 1
 
-cat <<EOF > xg-pl-7.ok
+cat <<\EOF > xg-pl-7.ok
 #. a
 #. b
 #. c
index 54b909f168d4c3cc52fe5918fd4606603db648dc..2d373c535a3967e6f7f5e0fead1db0932bbcb909 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Perl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-pl-so-1.pl
+cat <<\EOF > xg-pl-so-1.pl
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-pl-so-1.tmp xg-pl-so-1.pl || Exit 1
 LC_ALL=C tr -d '\r' < xg-pl-so-1.tmp.po > xg-pl-so-1.po || Exit 1
 
-cat <<EOF > xg-pl-so-1.ok
+cat <<\EOF > xg-pl-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 77dd8d022e4cc6feac4ebb779c0e44835ed4c4f4..b9d0f89d4d26a41e0289d327c2ef666b182ab961 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Perl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-pl-so-2.pl
+cat <<\EOF > xg-pl-so-2.pl
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
index 6be7ce9f615c8fa417b72bf6b39851fc2e872e57..b1de3652c4ad40ee83de58d40c660cf9df478370 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Perl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-pl-so-3.pl
+cat <<\EOF > xg-pl-so-3.pl
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-pl-so-3.tmp xg-pl-so-3.pl || Exit 1
 LC_ALL=C tr -d '\r' < xg-pl-so-3.tmp.po > xg-pl-so-3.po || Exit 1
 
-cat <<EOF > xg-pl-so-3.ok
+cat <<\EOF > xg-pl-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index ff68ed2a19c8272ff5f351a5042eef1d642e9c7f..3169c7d5a561d2503b011bde5760d6edc927c00b 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Perl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-pl-so-4.pl
+cat <<\EOF > xg-pl-so-4.pl
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
index 09338ae1cd7127a1bb2063c781b74e68bbd363f4..9c9891c4de00315924951ffc080666185e93f7f5 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: --add-comments option.
 
-cat <<EOF > xg-ph-1.php
+cat <<\EOF > xg-ph-1.php
 <?
 // This comment will not be extracted.
 echo _("help");
@@ -27,7 +27,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-ph-1.tmp xg-ph-1.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-1.tmp.po > xg-ph-1.po || Exit 1
 
-cat <<EOF > xg-ph-1.ok
+cat <<\EOF > xg-ph-1.ok
 msgid "help"
 msgstr ""
 
index 3eb6a92ea28679fc37bd3af5d35e84ad23840a9b..b343ed6a4fe6e484e8d65fe089aa3c8f8877957d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: here documents.
 
-cat <<EOF > xg-ph-2.php
+cat <<\EOF > xg-ph-2.php
 <?
 echo _("Egyptians");
 echo <<<EOTMARKER
@@ -57,7 +57,7 @@ LC_ALL=C tr -d '\r' < xg-ph-2d.tmp.po > xg-ph-2d.po || Exit 1
 ${XGETTEXT} --omit-header --no-location -d xg-ph-2s.tmp xg-ph-2s.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-2s.tmp.po > xg-ph-2s.po || Exit 1
 
-cat <<EOF > xg-ph-2.ok
+cat <<\EOF > xg-ph-2.ok
 msgid "Egyptians"
 msgstr ""
 
index 056139536e924c34b973b1049947c3f64cb69e44..127d3c6402f771dda2db7fd6b226df5195894122 100755 (executable)
@@ -17,7 +17,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-ph-3.tmp xg-ph-3.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-3.tmp.po > xg-ph-3.po || Exit 1
 
-cat <<EOF > xg-ph-3.ok
+cat <<\EOF > xg-ph-3.ok
 #. a
 #. b
 #. c
index 842ad31ad6c9a7f79793520b31227f80497509a1..1395763619d37eeb8e5a98a6430ba808175b334e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: string concatenation.
 
-cat <<EOF > xg-ph-4.php
+cat <<\EOF > xg-ph-4.php
 <?
 echo _("foo"."bar");
 echo _("hello " .
@@ -19,7 +19,7 @@ ${XGETTEXT} --omit-header --no-location --extract-all \
   -d xg-ph-4.tmp xg-ph-4.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-4.tmp.po > xg-ph-4.po || Exit 1
 
-cat <<EOF > xg-ph-4.ok
+cat <<\EOF > xg-ph-4.ok
 msgid "foobar"
 msgstr ""
 
index 7977010745a84ef405c1cf1a9305b96206a146ce..3f1a915948187765725d709417da34298497f258 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ph-so-1.php
+cat <<\EOF > xg-ph-so-1.php
 <?
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -53,7 +53,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ph-so-1.tmp xg-ph-so-1.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-so-1.tmp.po > xg-ph-so-1.po || Exit 1
 
-cat <<EOF > xg-ph-so-1.ok
+cat <<\EOF > xg-ph-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 28f1c40739c7952884e9c7680f33f848b46eeca2..fd2ff86b1d99e41afe30bdfd2d7b9484c031f5c4 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ph-so-2.php
+cat <<\EOF > xg-ph-so-2.php
 <?
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 5072198f5268a6d935209d0e08fe45bfb85fe488..df0a6f307687706e15c8fc621d9d16358a439f3d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ph-so-3.php
+cat <<\EOF > xg-ph-so-3.php
 <?
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
@@ -53,7 +53,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-ph-so-3.tmp xg-ph-so-3.php || Exit 1
 LC_ALL=C tr -d '\r' < xg-ph-so-3.tmp.po > xg-ph-so-3.po || Exit 1
 
-cat <<EOF > xg-ph-so-3.ok
+cat <<\EOF > xg-ph-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index f3ae1b2385cd2ddd0ad756472097cc4daeaf0793..e48c39f5419ad1446e50e3ad6ad7d456863fce6e 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PHP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-ph-so-4.php
+cat <<\EOF > xg-ph-so-4.php
 <?
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
index 1d22136085737ff65aaed76f009e2690695623ff..f7dd1c3794a56b951ca6b4bbd86f1542d28bbc13 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C, C++, PO extractors.
 
-cat <<EOF > xg-po-1.in.po
+cat <<\EOF > xg-po-1.in.po
 #: file1.c:199
 #, fuzzy
 msgid "extract me"
@@ -19,7 +19,7 @@ msgid "hello"
 msgstr "Again some text for fuzzy"
 EOF
 
-cat <<EOF > xg-po-1.c
+cat <<\EOF > xg-po-1.c
 #include <libintl.h>
 #include <stdio.h>
 int
@@ -30,7 +30,7 @@ main (int argc, char *argv[])
 }
 EOF
 
-cat <<EOF > xg-po-1.cc
+cat <<\EOF > xg-po-1.cc
 #include <iostream.h>
 #include <libintl.h>
 #include <locale.h>
@@ -47,7 +47,7 @@ ${XGETTEXT} --omit-header -n \
   -d xg-po-1.tmp xg-po-1.in.po xg-po-1.c xg-po-1.cc || Exit 1
 LC_ALL=C tr -d '\r' < xg-po-1.tmp.po > xg-po-1.po || Exit 1
 
-cat <<EOF > xg-po-1.ok
+cat <<\EOF > xg-po-1.ok
 #: file1.c:199
 #, fuzzy
 msgid "extract me"
index c4bd9d0407e5156ecaabbfc4a9c95b219d11c25a..0214e70e49869ff424599a60dcaa2f5ace66a35b 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test PO extractors with multiple input files.
 
-cat <<EOF > xg-po-2-1.po
+cat <<\EOF > xg-po-2-1.po
 msgid "first msgid"
 msgid_plural "first msgid (plural)"
 msgstr[0] ""
@@ -15,7 +15,7 @@ msgstr[0] ""
 msgstr[1] ""
 EOF
 
-cat <<EOF > xg-po-2-2.po
+cat <<\EOF > xg-po-2-2.po
 msgid "third msgid"
 msgid_plural "third msgid (plural)"
 msgstr[0] ""
@@ -31,7 +31,7 @@ EOF
 ${XGETTEXT} --omit-header xg-po-2-1.po xg-po-2-2.po -o xg-po-2.tmp.po || Exit 1
 LC_ALL=C tr -d '\r' < xg-po-2.tmp.po > xg-po-2.po || Exit 1
 
-cat <<EOF > xg-po-2.ok
+cat <<\EOF > xg-po-2.ok
 msgid "first msgid"
 msgid_plural "first msgid (plural)"
 msgstr[0] ""
index 1261944a14498c930fdc07c0cc6245a0fe758875..7862ce4a0f97fb586aeb93c2ed9bb1c001896769 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C, C++, JavaProperties extractors.
 
-cat <<EOF > xg-pr-1.in.properties
+cat <<\EOF > xg-pr-1.in.properties
 #: file1.c:199
 #, fuzzy
 !extract\ me=some text to get fuzzy copied to result
@@ -16,7 +16,7 @@ cat <<EOF > xg-pr-1.in.properties
 !hello=Again some text for fuzzy
 EOF
 
-cat <<EOF > xg-pr-1.c
+cat <<\EOF > xg-pr-1.c
 #include <libintl.h>
 #include <stdio.h>
 int
@@ -27,7 +27,7 @@ main (int argc, char *argv[])
 }
 EOF
 
-cat <<EOF > xg-pr-1.cc
+cat <<\EOF > xg-pr-1.cc
 #include <iostream.h>
 #include <libintl.h>
 #include <locale.h>
@@ -44,7 +44,7 @@ ${XGETTEXT} --omit-header -n \
   -d xg-pr-1.tmp xg-pr-1.in.properties xg-pr-1.c xg-pr-1.cc || Exit 1
 LC_ALL=C tr -d '\r' < xg-pr-1.tmp.po > xg-pr-1.po || Exit 1
 
-cat <<EOF > xg-pr-1.ok
+cat <<\EOF > xg-pr-1.ok
 #: file1.c:199
 #, fuzzy
 msgid "extract me"
index 2b3d739e0fee9de55409ce599d2e4e4b33696c9d..5aec46a50578a902fd249466a27e908d4bbe3cef 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Python support: --add-comments option.
 
-cat <<EOF > xg-py-2.py
+cat <<\EOF > xg-py-2.py
 # This comment will not be extracted.
 print gettext.gettext("help")
 #  TRANSLATORS: This is an extracted comment.
@@ -24,7 +24,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-py-2.tmp xg-py-2.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-2.tmp.po > xg-py-2.po || Exit 1
 
-cat <<EOF > xg-py-2.ok
+cat <<\EOF > xg-py-2.ok
 msgid "help"
 msgstr ""
 
index e1f5cd5f3f28d658d91c109206a9df42ca986235..f0599bb5f17fa2e30f2298991a9f71cd38a81c3f 100755 (executable)
@@ -17,7 +17,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-py-4.tmp xg-py-4.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-4.tmp.po > xg-py-4.po || Exit 1
 
-cat <<EOF > xg-py-4.ok
+cat <<\EOF > xg-py-4.ok
 #. a
 #. b
 #. c
index 72657a0bb0ddfc6ff0717673034b32055a892c9a..697f77900f85bc1796f109ac04a9e2c8c584d975 100755 (executable)
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-py-6.tmp xg-py-6.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-6.tmp.po > xg-py-6.po || Exit 1
 
-cat <<EOF > xg-py-6.ok
+cat <<\EOF > xg-py-6.ok
 msgid "{0:"
 msgstr ""
 EOF
index 2b98ac6c1dac4b0896c8de0f56968f6584e55b9d..454eeb26da03aedebfc513ebbe00d59167940a81 100755 (executable)
@@ -14,7 +14,7 @@ ${XGETTEXT} --flag=my_old_format:1:python-format \
             --omit-header --no-location -d xg-py-7.tmp xg-py-7.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-7.tmp.po > xg-py-7.po || Exit 1
 
-cat <<EOF > xg-py-7.ok
+cat <<\EOF > xg-py-7.ok
 #, python-format
 msgid "blaold %d and %s"
 msgstr ""
index a38a25fb969f006f6dde64ea628b1507e6ae3ae2..83ec38782b8de330177d73eab754e7a30a28331a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Python support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-py-so-1.py
+cat <<\EOF > xg-py-so-1.py
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-py-so-1.tmp xg-py-so-1.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-so-1.tmp.po > xg-py-so-1.po || Exit 1
 
-cat <<EOF > xg-py-so-1.ok
+cat <<\EOF > xg-py-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 706244292a0d383e3f9eb1d9fe8d85130d5cfcf1..0abdf34c8abae32ae839ab48bc5c1bdb45e75097 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Python support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-py-so-2.py
+cat <<\EOF > xg-py-so-2.py
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 01e0f3821804334f4b1cd89541f4d2ef2c315d27..d53b1fcd195d15771dd14fcf6918612fe8fdae1a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Python support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-py-so-3.py
+cat <<\EOF > xg-py-so-3.py
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-py-so-3.tmp xg-py-so-3.py || Exit 1
 LC_ALL=C tr -d '\r' < xg-py-so-3.tmp.po > xg-py-so-3.po || Exit 1
 
-cat <<EOF > xg-py-so-3.ok
+cat <<\EOF > xg-py-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index ed290474d0f8200bf14d816612f822289bf45dad..0d879f2f8a6a9e8d59c695acc2b60a26971fcd74 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Python support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-py-so-4.py
+cat <<\EOF > xg-py-so-4.py
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
index 576bb51664adac79fc0e44b3a3a5d4905053b2b0..797650d1281828e8bb8480636da1ca696bf66ed2 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: --add-comments option.
 
-cat <<EOF > xg-sc-1.scm
+cat <<\EOF > xg-sc-1.scm
 ; This comment will not be extracted.
 (display (_ "help"))
 ;;  TRANSLATORS: This is an extracted comment.
@@ -18,7 +18,7 @@ ${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-sc-1.tmp xg-sc-1.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-1.tmp.po > xg-sc-1.po || Exit 1
 
-cat <<EOF > xg-sc-1.ok
+cat <<\EOF > xg-sc-1.ok
 msgid "help"
 msgstr ""
 
index 8c7fbb811bf845466164adc2429fc87bd738abbe..9b04bb35a6c1077b832c99a8ee42043a10af8ebe 100755 (executable)
@@ -3,14 +3,14 @@
 
 # Test Scheme support: strings outside any function call.
 
-cat <<EOF > xg-sc-2.scm
+cat <<\EOF > xg-sc-2.scm
 (define foo '("bar" "quux"))
 EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} -k_ --omit-header --no-location --force-po -d xg-sc-2 xg-sc-2.scm || Exit 1
 
-cat <<EOF > xg-sc-2.ok
+cat <<\EOF > xg-sc-2.ok
 EOF
 
 : ${DIFF=diff}
index fe28ebbc79489550919389d3ef5b3cd8800c7cd9..82127886c785c2573908676878f0a8cec259a275 100755 (executable)
@@ -18,7 +18,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-sc-3.tmp xg-sc-3.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-3.tmp.po > xg-sc-3.po || Exit 1
 
-cat <<EOF > xg-sc-3.ok
+cat <<\EOF > xg-sc-3.ok
 #. a
 #. b
 #. c
index 1851a46b1d763dab64797320b08da54b775f3d48..32051abac86e4dadb96b6ac73dfeafdfbe231d71 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: GIMP script-fu extension _"..."
 
-cat <<EOF > xg-sc-4.scm
+cat <<\EOF > xg-sc-4.scm
 (script-fu-register "script-fu-paste-as-brush"
   _"New _Brush..."
   _"Paste the clipboard contents into a new brush"
@@ -22,7 +22,7 @@ ${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-sc-4.tmp xg-sc-4.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-4.tmp.po > xg-sc-4.po || Exit 1
 
-cat <<EOF > xg-sc-4.ok
+cat <<\EOF > xg-sc-4.ok
 msgid "New _Brush..."
 msgstr ""
 
index 9d9284585e370e662f9ca598d620e4daa97037d5..26cd2adc50390f5284cd7b971fbcb3230d49f938 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: scheme-format string with a loop.
 
-cat <<EOF > xg-sc-5.scm
+cat <<\EOF > xg-sc-5.scm
 (_ "~{~*~}")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} -k_ --omit-header --no-location -d xg-sc-5.tmp xg-sc-5.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-5.tmp.po > xg-sc-5.po || Exit 1
 
-cat <<EOF > xg-sc-5.ok
+cat <<\EOF > xg-sc-5.ok
 #, scheme-format
 msgid "~{~*~}"
 msgstr ""
index f91ca43a9eab8fb631f100801962af1eae517d85..6926acf5a4bbc0b90c737d5f98e2e69e62e7ff0c 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: scheme-format string with a complex nested loop.
 
-cat <<EOF > xg-sc-6.scm
+cat <<\EOF > xg-sc-6.scm
 (_ "A~0{B~0b~,v*C~:*D~,v*E~,v*F~0{G~0{H~}I~}J~^~}K")
 EOF
 
@@ -11,7 +11,7 @@ EOF
 ${XGETTEXT} -k_ --omit-header --no-location -d xg-sc-6.tmp xg-sc-6.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-6.tmp.po > xg-sc-6.po || Exit 1
 
-cat <<EOF > xg-sc-6.ok
+cat <<\EOF > xg-sc-6.ok
 #, scheme-format
 msgid "A~0{B~0b~,v*C~:*D~,v*E~,v*F~0{G~0{H~}I~}J~^~}K"
 msgstr ""
index bb87000323d6a7261a4b48836de5369ebbb21e9b..f054ac5dbbc01050b51dc99245c7f7288916cc26 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-sc-so-1.scm
+cat <<\EOF > xg-sc-so-1.scm
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} -k_ --omit-header --no-location -d xg-sc-so-1.tmp xg-sc-so-1.scm || Exit 1
 LC_ALL=C tr -d '\r' < xg-sc-so-1.tmp.po > xg-sc-so-1.po || Exit 1
 
-cat <<EOF > xg-sc-so-1.ok
+cat <<\EOF > xg-sc-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index a487ec30e059463105714fd343818d10419747b7..1b4e0a88d6ddfde1e87dd1aa4cd6af6fc9d54f18 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Scheme support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-sc-so-2.scm
+cat <<\EOF > xg-sc-so-2.scm
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index a4b7e8d0bedf6fdf2d2c4244e3aa8eaada4212de..06c7883e4ac16b9416de5fe4ad688da0d93f0976 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Shell support: --add-comments option.
 
-cat <<EOF > xg-sh-2.sh
+cat <<\EOF > xg-sh-2.sh
 # This comment will not be extracted.
 gettext "help"
 #  TRANSLATORS: This is an extracted comment.
@@ -20,7 +20,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-sh-2.tmp xg-sh-2.sh || Exit 1
 LC_ALL=C tr -d '\r' < xg-sh-2.tmp.po > xg-sh-2.po || Exit 1
 
-cat <<EOF > xg-sh-2.ok
+cat <<\EOF > xg-sh-2.ok
 msgid "help"
 msgstr ""
 
index 656781df7d3531eaf9d849f5d0ad26ecd276283b..0daf5b628dded3da1b008655766cdeaf6c74805f 100755 (executable)
@@ -13,7 +13,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-sh-6.tmp xg-sh-6.sh || Exit 1
 LC_ALL=C tr -d '\r' < xg-sh-6.tmp.po > xg-sh-6.po || Exit 1
 
-cat <<EOF > xg-sh-6.ok
+cat <<\EOF > xg-sh-6.ok
 #. a
 msgid "hello world"
 msgstr ""
index e33ee686b66364237c09d69968446404b6c7de5f..cb323e91562816e0aa602214012ac2da2f9cacff 100755 (executable)
@@ -71,7 +71,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-sh-so-1.tmp xg-sh-so-1.sh || Exit 1
 LC_ALL=C tr -d '\r' < xg-sh-so-1.tmp.po > xg-sh-so-1.po || Exit 1
 
-cat <<EOF > xg-sh-so-1.ok
+cat <<\EOF > xg-sh-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index a8ded6c8f8a7595d46981c072c8ae58a613d876d..13b939ab10c4724b1c542d59ec591518b70b1323 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Shell support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-sh-so-3.sh
+cat <<\EOF > xg-sh-so-3.sh
 x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(
 x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(
 x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(x<(
index ee7c2b33ba8397ec921591a415d5a466a1f65285..bf158ee438887a76d13b4e80a30bae753333094d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Shell support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-sh-so-4.sh
+cat <<\EOF > xg-sh-so-4.sh
 x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(
 x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(
 x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(x>(
index 11a91882946cf8469776c633891885c81b540845..385a2383fcbcc86b31a7149904eb02ed6d0c3ddc 100755 (executable)
@@ -4091,7 +4091,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-sh-so-5.tmp xg-sh-so-5.sh || Exit 1
 LC_ALL=C tr -d '\r' < xg-sh-so-5.tmp.po > xg-sh-so-5.po || Exit 1
 
-cat <<EOF > xg-sh-so-5.ok
+cat <<\EOF > xg-sh-so-5.ok
 msgid "Hello!"
 msgstr ""
 EOF
index b94938025d319c8d8312f5a0dd7b46557105ea46..46dea68164ebc8454c6005655af5a0b228032192 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Smalltalk support: --add-comments option.
 
-cat <<EOF > xg-st-1.st
+cat <<\EOF > xg-st-1.st
 "This comment will not be extracted."
 Transcript showCr: (NLS ? 'help').
 " TRANSLATORS: This is an extracted comment."
@@ -21,7 +21,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-st-1.tmp xg-st-1.st || Exit 1
 LC_ALL=C tr -d '\r' < xg-st-1.tmp.po > xg-st-1.po || Exit 1
 
-cat <<EOF > xg-st-1.ok
+cat <<\EOF > xg-st-1.ok
 msgid "help"
 msgstr ""
 
index 01d61fa98c55c859ed320f9184199fc5f7f0500e..64bed548f8d1f73f5982b527811bb97694b23bc2 100755 (executable)
@@ -17,7 +17,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location \
   -d xg-st-2.tmp xg-st-2.st || Exit 1
 LC_ALL=C tr -d '\r' < xg-st-2.tmp.po > xg-st-2.po || Exit 1
 
-cat <<EOF > xg-st-2.ok
+cat <<\EOF > xg-st-2.ok
 #. a
 #. b
 #. c
index bbacdf8adfddce4a37fcb3806b064c268ac7c606..13aa9830544076890259fde93a25f25794948c8a 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Tcl support: --add-comments option.
 
-cat <<EOF > xg-t-2.tcl
+cat <<\EOF > xg-t-2.tcl
 # This comment will not be extracted.
 puts [_ "help"]
 #  TRANSLATORS: This is an extracted comment.
@@ -20,7 +20,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: -k_ \
   -d xg-t-2.tmp xg-t-2.tcl || Exit 1
 LC_ALL=C tr -d '\r' < xg-t-2.tmp.po > xg-t-2.po || Exit 1
 
-cat <<EOF > xg-t-2.ok
+cat <<\EOF > xg-t-2.ok
 msgid "help"
 msgstr ""
 
index fd60c743794b58cac8e8a38d531751e5fd1a5dd0..74c04b6d74cc296ad698f87039b9bd98cce5e301 100755 (executable)
@@ -14,7 +14,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-t-3.tmp xg-t-3.tcl || Exit 1
 LC_ALL=C tr -d '\r' < xg-t-3.tmp.po > xg-t-3.po || Exit 1
 
-cat <<EOF > xg-t-3.ok
+cat <<\EOF > xg-t-3.ok
 #. a
 msgid "hello world"
 msgstr ""
index 95005d619fb75c232dd4b7f49028cb0381181ce9..3e45c1b6855954958e97dd051b4e8aeb8590d178 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Tcl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-t-so-1.tcl
+cat <<\EOF > xg-t-so-1.tcl
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} -k_ --omit-header --no-location -d xg-t-so-1.tmp xg-t-so-1.tcl || Exit 1
 LC_ALL=C tr -d '\r' < xg-t-so-1.tmp.po > xg-t-so-1.po || Exit 1
 
-cat <<EOF > xg-t-so-1.ok
+cat <<\EOF > xg-t-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index c41ae7f79a2382fad2b353bd7cc8aceed5e0c37f..bc6ca6b6bbf9c9105906f8ff345d51e0fe9f9d39 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Tcl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-t-so-2.tcl
+cat <<\EOF > xg-t-so-2.tcl
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
 [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[
index 2afa0147ad3cab8f288bc77d5ddbd0dc228b6260..64636d8cfbadd853c7a5ca7987baf52da6242d4b 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Tcl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-t-so-3.tcl
+cat <<\EOF > xg-t-so-3.tcl
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} -k_ --omit-header --no-location -d xg-t-so-3.tmp xg-t-so-3.tcl || Exit 1
 LC_ALL=C tr -d '\r' < xg-t-so-3.tmp.po > xg-t-so-3.po || Exit 1
 
-cat <<EOF > xg-t-so-3.ok
+cat <<\EOF > xg-t-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 34a37ab6314c3fa946df80be8ded145f2a6df90c..d8ee44ed2a35071b36a1c6aef40756267539cef8 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Tcl support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-t-so-4.tcl
+cat <<\EOF > xg-t-so-4.tcl
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
index 9894418b1f6e3552f19d961694604ddad4c83508..fe500e36cddccee47ef29fb6e39ab049a2f14d8d 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Vala support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-vala-so-1.vala
+cat <<\EOF > xg-vala-so-1.vala
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-vala-so-1.tmp xg-vala-so-1.vala || Exit 1
 LC_ALL=C tr -d '\r' < xg-vala-so-1.tmp.po > xg-vala-so-1.po || Exit 1
 
-cat <<EOF > xg-vala-so-1.ok
+cat <<\EOF > xg-vala-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index 44121b99515292c1a319f2e72540cf9ae1b579fd..a136619b310e74b0b88023a927aa654e79ae4829 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test Vala support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-vala-so-2.vala
+cat <<\EOF > xg-vala-so-2.vala
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index 72eef7cc21cb932b5eb4355d67ba6493bb94c064..0b0bd6ab373a134ece0e52eff325cc9e445efc53 100755 (executable)
@@ -4,7 +4,7 @@
 # Plural test for YCP
 #
 
-cat <<EOF > xg-y-1.ycp
+cat <<\EOF > xg-y-1.ycp
 title = sformat (_("%1 package", "%1 packages", num), num);
 EOF
 
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -k:1,2 -d xg-y-1.tmp xg-y-1.ycp || Exit 1
 LC_ALL=C tr -d '\r' < xg-y-1.tmp.po > xg-y-1.po || Exit 1
 
-cat <<EOF > xg-y-1.ok
+cat <<\EOF > xg-y-1.ok
 #, ycp-format
 msgid "%1 package"
 msgid_plural "%1 packages"
index b8bb5a7e087bf1f02fab89181560c20937625af0..940d0aa3b3e8c1d2ad4610a56d831b72e5c55191 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test YCP support: --add-comments option.
 
-cat <<EOF > xg-y-2.ycp
+cat <<\EOF > xg-y-2.ycp
 // This comment will not be extracted.
 print (_("help"));
 //  TRANSLATORS: This is an extracted comment.
@@ -23,7 +23,7 @@ ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
   -d xg-y-2.tmp xg-y-2.ycp || Exit 1
 LC_ALL=C tr -d '\r' < xg-y-2.tmp.po > xg-y-2.po || Exit 1
 
-cat <<EOF > xg-y-2.ok
+cat <<\EOF > xg-y-2.ok
 msgid "help"
 msgstr ""
 
index d9fb173c5004ff66b1ebd99666bd598f0aee7d5e..f89511c9b7b0c563a2ea7a63d10adee837e8ebf3 100755 (executable)
@@ -15,7 +15,7 @@ ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
   -d xg-y-4.tmp xg-y-4.ycp || Exit 1
 LC_ALL=C tr -d '\r' < xg-y-4.tmp.po > xg-y-4.po || Exit 1
 
-cat <<EOF > xg-y-4.ok
+cat <<\EOF > xg-y-4.ok
 #. a
 #. b
 #. c
index 9c4d31561ee64cfed0429c9285848584f4cd8d4d..c0c4eab240c7ac80bd9a001db1675d2b285c0c84 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test YCP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-y-so-1.ycp
+cat <<\EOF > xg-y-so-1.ycp
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
@@ -51,7 +51,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-y-so-1.tmp xg-y-so-1.ycp || Exit 1
 LC_ALL=C tr -d '\r' < xg-y-so-1.tmp.po > xg-y-so-1.po || Exit 1
 
-cat <<EOF > xg-y-so-1.ok
+cat <<\EOF > xg-y-so-1.ok
 msgid "Hello!"
 msgstr ""
 EOF
index e3a3da7e72129110919deaa4b680d93235785c32..af4cd0b9f370e373fc37d2057f43a3059ca430e3 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test YCP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-y-so-2.ycp
+cat <<\EOF > xg-y-so-2.ycp
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
 ((((((((((((((((((((((((((((((((((((((((((((((((((
index bb1f45142fc3e6c8756d0f520349b00412222274..7cf49480cc72eea74245acd5b25daed0a650e7f6 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test YCP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-y-so-3.ycp
+cat <<\EOF > xg-y-so-3.ycp
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(
@@ -71,7 +71,7 @@ EOF
 ${XGETTEXT} --omit-header --no-location -d xg-y-so-3.tmp xg-y-so-3.ycp || Exit 1
 LC_ALL=C tr -d '\r' < xg-y-so-3.tmp.po > xg-y-so-3.po || Exit 1
 
-cat <<EOF > xg-y-so-3.ok
+cat <<\EOF > xg-y-so-3.ok
 msgid "Hello!"
 msgstr ""
 EOF
index e7ecfbaba1cfdbe37d0a6ffffae353a3cde1c904..7ff1d7325f9830226d2abb80d52d8955b2946de3 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test YCP support: stack overflow prevented by nesting depth check.
 
-cat <<EOF > xg-y-so-4.ycp
+cat <<\EOF > xg-y-so-4.ycp
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(
 _(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(_(