From: Bruno Haible Date: Wed, 21 Mar 2001 23:55:09 +0000 (+0000) Subject: Portability fix: It's not possible to output \n using echo on Solaris, Irix, X-Git-Tag: v0.10.36~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47e05560b1e2953b115d84b45263fa6cf28ac4bf;p=thirdparty%2Fgettext.git Portability fix: It's not possible to output \n using echo on Solaris, Irix, AIX. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 9ccbb72f7..44891b3ce 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2001-03-21 Bruno Haible + + * plural-2: Use cat, not echo, to create ll.po. + 2001-03-18 Bruno Haible * tstngettext.c: New file. diff --git a/tests/plural-2 b/tests/plural-2 index 5a293533c..2b6dedade 100755 --- a/tests/plural-2 +++ b/tests/plural-2 @@ -34,18 +34,27 @@ EOF while read lang; do read formula read dataok - (echo "msgid \"\"" - echo "msgstr \"\"" - echo "\"MIME-Version: 1.0\\n\"" - echo "\"Content-Type: text/plain; charset=ASCII\\n\"" - echo "\"Content-Transfer-Encoding: 8-bit\\n\"" - echo "\"Plural-Forms: nplurals=10; plural=${formula};\\n\"" - echo - echo "msgid \"X\"" - echo "msgid_plural \"Y\"" - for i in 0 1 2 3 4 5 6 7 8 9 ; do - echo "msgstr[${i}] \"${i}\"" - done) > ll.po + cat > ll.po <