From MAILER-DAEMON Wed Jan 01 04:12:03 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ima2t-0003RR-Ct for mharc-bug-gettext@gnu.org; Wed, 01 Jan 2020 04:12:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59076) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ima2q-0003RK-1v for bug-gettext@gnu.org; Wed, 01 Jan 2020 04:12:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ima2o-00043x-Kw for bug-gettext@gnu.org; Wed, 01 Jan 2020 04:11:59 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::9]:16879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ima2n-0003nD-VA for bug-gettext@gnu.org; Wed, 01 Jan 2020 04:11:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1577869913; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=UJty1QH3vsHztDDtfAJWv0Y9kRC/CB89EUthh1DPuN8=; b=f6Yrq3twukyLWnNro7GRrrIBUddCS4bkGqxti/03jCB1t/bB0PeEoEXFX7+sJt0XEP PJfQAU7dQ0R4GZ/YF9rJoOj0jotOqVc0YIk4zOtM1FgSnyQlq32AFgn1JAN05A56nQ4z Ajnlu1cLhSg2BRxtWs0EcCQKhsWRakRgzgdJQhvwkt0eLRTyuzMvSpD08X1WeRf//mlk TnFI9mTfguObEOqVuNCXmPBvXVarFGERPh44X8Amm9mOxrgBLfaw+suC7/C3c/yvCsjD E3upZjuh2vwlXfbMpN58xuDw2MZdnVismQOjS+1GGZZRTj9WUnTdhV63rYSaUbMmpnqM X2bg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.3 DYNA|AUTH) with ESMTPSA id R06a06w019BgG40 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 1 Jan 2020 10:11:42 +0100 (CET) From: Bruno Haible To: bug-gettext@gnu.org Subject: Re: AM_LANGINFO_CODESET missing Date: Wed, 01 Jan 2020 10:11:42 +0100 Message-ID: <12048458.JGREHthdfF@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-170-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20200101131438.2f93dc14@vorticon.teln.shikadi.net> References: <20200101131438.2f93dc14@vorticon.teln.shikadi.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::9 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2020 09:12:01 -0000 Hi, Adam Nielsen wrote: > I'm trying to install the "gnokii" software package, but it no longer > compiles with gettext 0.20. It worked with 0.19.8, but with 0.20 gives > this error: > > configure.ac:75: error: possibly undefined macro: AM_LANGINFO_CODESET Looking at autogen.sh and configure.ac of gnokii [1] I can see that * autogen.sh uses glib-gettextize. Nowadays you can use "gettextize --no-changelog" instead. [2] * configure.ac invokes AM_LANGINFO_CODESET, which is defined in codeset.m4. In earlier versions, gettextize installed codeset.m4 into the package when either the option --intl was given or an Automake version < 1.9 was found. In version 0.20, the --intl option is no longer supported and Automake 1.9 or newer is mandatory; therefore codeset.m4 is no longer present. You can now take codeset.m4 from gnulib [3], through a command such as gnulib-tool --copy m4/codeset.m4 or wget -q --timeout=5 -O codeset.m4 'https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=m4/codeset.m4' Bruno [1] https://git.savannah.nongnu.org/gitweb/?p=gnokii.git;a=tree [2] https://developer.gnome.org/glib/stable/glib-gettextize.html [3] https://www.gnu.org/software/gnulib/manual/html_node/index.html > Doing some digging it looks like the AM_LANGINFO_CODESET macro was > removed in this commit: > > commit 8c2bfdbddb13a480d88ceac4ab0e5886bda957cb > Author: Bruno Haible > Date: Sun Nov 25 02:12:04 2018 +0100 > > build: Remove some duplicate .m4 files. > > * autogen.sh: Copy wchar_t.m4 and wint_t.m4 for libasprintf. > * gettext-runtime/m4/codeset.m4: Remove file. > * gettext-runtime/m4/extern-inline.m4: Remove file. > * gettext-runtime/m4/intl-thread-locale.m4: Remove file. > * gettext-runtime/m4/lcmessage.m4: Remove file. > * gettext-runtime/m4/lock.m4: Remove file. > * gettext-runtime/m4/longlong.m4: Remove file. > * gettext-runtime/m4/threadlib.m4: Remove file. > * gettext-runtime/m4/wchar_t.m4: Remove file. > * gettext-runtime/m4/wint_t.m4: Remove file. > * gettext-runtime/m4/Makefile.am (EXTRA_DIST): Don't distribute them. > * Makefile.am (distcheck-hook): Don't verify that they are identical copies. > > I had a look through the README and NEWS but couldn't find any > information about what has replaced AM_LANGINFO_CODESET or even that it > had been removed. > > Was its removal a mistake, or has it been replaced with a different > macro? Or have I just missed the place where this change was explained? > > I'm just a user of the gnokii library so I'm not sure why they are > using this macro, only that I am unable to compile it any more! > > Many thanks, > Adam. > > From MAILER-DAEMON Fri Jan 03 03:01:26 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1inHte-0002V4-RG for mharc-bug-gettext@gnu.org; Fri, 03 Jan 2020 03:01:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46305) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inCuw-0001sO-0q for bug-gettext@gnu.org; Thu, 02 Jan 2020 21:42:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inCuu-0003c1-Qz for bug-gettext@gnu.org; Thu, 02 Jan 2020 21:42:25 -0500 Received: from vmicros1.altlinux.org ([194.107.17.57]:51948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1inCuu-0003Wb-Ii for bug-gettext@gnu.org; Thu, 02 Jan 2020 21:42:24 -0500 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id B745B72CCE9 for ; Fri, 3 Jan 2020 05:42:21 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id A9A637CC748; Fri, 3 Jan 2020 05:42:21 +0300 (MSK) Date: Fri, 3 Jan 2020 05:42:21 +0300 From: "Dmitry V. Levin" To: bug-gettext@gnu.org Subject: [PATCH] libtextstyle: enable large files support Message-ID: <20200103024221.GA14374@altlinux.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 194.107.17.57 X-Mailman-Approved-At: Fri, 03 Jan 2020 03:01:26 -0500 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 02:42:27 -0000 Since style_file_lookup function uses stat(2), large files support should be enabled to make this function work properly on file systems with 64-bit inodes. * libtextstyle/autogen.sh (GNULIB_MODULES): Add 'largefile' to enable large files support on systems where this is not the default. --- libtextstyle/autogen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/libtextstyle/autogen.sh b/libtextstyle/autogen.sh index 160bae4d8..3346d1176 100755 --- a/libtextstyle/autogen.sh +++ b/libtextstyle/autogen.sh @@ -87,6 +87,7 @@ if test $skip_gnulib = false; then term-styled-ostream filename isatty + largefile vasprintf-posix xalloc xconcat-filename -- ldv From MAILER-DAEMON Fri Jan 03 11:40:18 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1inPzm-0007Ea-3k for mharc-bug-gettext@gnu.org; Fri, 03 Jan 2020 11:40:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59564) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inPzj-0007BI-FH for bug-gettext@gnu.org; Fri, 03 Jan 2020 11:40:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inPzi-0003aG-BU for bug-gettext@gnu.org; Fri, 03 Jan 2020 11:40:15 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::2]:14646) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1inPzh-0003CF-Jw for bug-gettext@gnu.org; Fri, 03 Jan 2020 11:40:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1578069610; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=RWNnjZzz2Aoklv/SivlTU/kZDSwnNsvms8kfrVuNBV8=; b=F6yqSiriahVSm7Db4LVeKh50bNY59OwuzISMAhF0TmVYnA+s7tExvuO9rRbpPhUfHm n4v7FH4q00ZeBV6IdAvprOGYJGcxJv/zjGo3s7UeVn/zByU4j/EpHtjVDsAkomd3tapY 2moL/7nvwr+CHCn1XiLadLlSvupXzgOXa/nvfPxCE3BZx3JQD7KREKjKXbyRIcup1z/h J9wIgsgPx8x4SE5pmMadmwGp/7yiGZY+1jK1Ss7LirIg9XQ5jXMuLTdD4SZ8FyWETs3h yZHwqwzPf+hWAanxaIbNygwo9l8CAPUDLb0+G1Q7DLkM2WAaphxpkVo5m89Mn6ApIPME Q8dA== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.3 DYNA|AUTH) with ESMTPSA id R06a06w03Ge8O19 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 3 Jan 2020 17:40:08 +0100 (CET) From: Bruno Haible To: bug-gettext@gnu.org Cc: "Dmitry V. Levin" Subject: Re: [PATCH] libtextstyle: enable large files support Date: Fri, 03 Jan 2020 17:40:07 +0100 Message-ID: <19729520.Keiaa5oo6l@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-170-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <20200103024221.GA14374@altlinux.org> References: <20200103024221.GA14374@altlinux.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::2 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 16:40:17 -0000 Hi Dmitry, > Since style_file_lookup function uses stat(2), large files support > should be enabled to make this function work properly on file systems > with 64-bit inodes. Thanks for the report. I'm applying it because the calls to - fstat() in activate_term_style_controller, - stat() in style_file_lookup ought to work independently of the inode of the accessed file. Bruno From MAILER-DAEMON Thu Jan 09 08:59:40 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ipYLc-0006vq-Fo for mharc-bug-gettext@gnu.org; Thu, 09 Jan 2020 08:59:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39262) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipYLX-0006YK-12 for bug-gettext@gnu.org; Thu, 09 Jan 2020 08:59:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipYLT-0007yi-Ge for bug-gettext@gnu.org; Thu, 09 Jan 2020 08:59:34 -0500 Received: from mx2.suse.de ([195.135.220.15]:33354) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ipYLS-000721-Qw for bug-gettext@gnu.org; Thu, 09 Jan 2020 08:59:31 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 389ACB27AA for ; Thu, 9 Jan 2020 13:59:12 +0000 (UTC) To: bug-gettext@gnu.org From: Marketa Calabkova Subject: msgcat: add multiple new features Autocrypt: addr=mcalabkova@suse.cz; keydata= mQINBFxAkKIBEADv3Kbft8IlLqEpax920pTHwdgFIPkx8YGJY/N03PFCPNKsETMRqSZHzGIe Kuro28km4qWUd39FV0BKGDjcC4ykxhkLug/tpd1YDPb5goLPofAfmujoL7PTVjvGtouhxjW/ q4JU+sSmvhnUGWn8zx9i+Nk3BUA4GVBdMPpXc1UwPnGyruKJ8ZeEH4qCtNZ8hf3r8/brSEaD KGxtWrkhw00UVrpZV2+rWcRCzyzXKSU2bb46txXx5skD1rLHtbf9D4/XR+GhXPYqVQ7jSkws IR1tBcqkXUUockmF8U5EwZWndWsH4qB/06W3stmkbP7yTTOAyeoUpKm2r4rD3yi7uxhRHDvC pUQDLHWd2QqnPtSc5U6WW10yfJPxMh8aXN5a1/tNpWyKI0GtCg5dsOcAKjbtUVIOAqV4Semx deZVGWZP4com1Aw1gL95B+XQvEUVv0L3SSl3j3btPEhbfKVd34OiItPVVn/sCKReNaZLL6sb wxbkteCfL6kM06JsAPDdgsepKl/pr5stITNA7Tso8nSjAv8z/t1Dnk46ZkxIcM0YjYBQ3IKA OAtxqVxcjTrj/FC1EjeI1PVMswdN+nzNBnLzQ2KihhuPxp9g8DFFZsie0/odpU6CynSg8V6x lnZ/ogAX3Ss23dCMwcr2iD8sA7lOFPaSqS1/0PgfFCL6A4t5+wARAQABtClNYXJrw6l0YSBD YWzDoWJrb3bDoSA8bWNhbGFia292YUBzdXNlLmN6PokCTgQTAQgAOBYhBFbVU8jfbUCf8B6s 8SHu0+T77enRBQJcQJCiAhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJECHu0+T77enR Kp0QAI2hUW++KqSBgSGKu/OGPcOl8syIseheewzST2jOJd7C/uZWwL7U4J9YVoYqpFgik5Jw EHXIA2YLy1uPTj0KyfaSCQ8oSke73JQTCGJVbHfNJgCnCouSr30O9I+Ck6EyKsr4BSeR1+Rz GAsro8d76qIiAAsH/K+igyJZhhSr0kbs/DNaAt8XxJrzJfZ67oW0B++y3P3uhv5mnDT7KB+P urS400TIY3hLFtTgXeNh+CCu/zdvW0wl+410uLHWspVNbCDcNbIhT31vS2wes0ZSwpUf+vZf WoeAl5Xhw1JsRJn7nwmQVd1RMU1aNndjKsVwIOQTVEQYFBaIn4GrHSXa9+KHcI9BMnnFCW0X 72nX67Qq1g15ylDd4Vb8C3CPQq9IzB5ISc2WMnkeAgXm9pAYJvLVtg/bkgms4n5MCJlD27ce /9kJf5eAt+joILZ7Cw16caVF2xPrqP5g2nN7EGfBkoj1cEOYsK6XizhBj15iqIc8hNdcCGbe 55lVB5TEkustI0Si0Jy0wako9DBvEr9v7qbjj/mT4Ux6brzz3q3vIXIAgLn/wXB4cOMBKlJ4 Clu6EI8kKxrGyR6Kb3+8QnARx2o8s6Zl6npWgn9z+xbmk0kyRmM5mwuaB6BUY1O/3OUetVJy lGAqTAFr+c1ofYJO9IiLY6LqZA94CAfPv3GpjLqsuQINBFxAkKIBEAC6cF9Nv0EYG+EXPNLO iRLIJqFf8vQt6qzax4+/zeGN6sjbo5amMKGpledadAJk4agtKGsfExizzb5dfe5to29A2/4p F7gomA3BHrTDVc6jyXePJSqoXYcxoWhIBSLKlgfQzaX40Ax8Mq0MCSrMYuuGtBu6SewhR5g7 Ei3dDTX8yu0VH8+NjMZ02KCrtvdpy4/BbtuCS4sBP5qnQe0kjVjB61OTlLFaYE5eLlSE5DgM zsulfOh6jXRzIatzlrK1oLgk6Xk5yJ4/B0A3WlWI9KKkr6pJPCCtPPqtmdRkvAqTAfoDA0d1 z8UJ1O1JLAtuSINC1EHbUJfhgebsNh6E5iLfkp47VQrDfeWqFEGvKv8YjMMAeETNquhEMn/p aQqX8SOE3QmcVNK3GI7dv9hSCDnbhk5sO7oNRpn3KUEi6LSjoe++icQjbjjLCfjELrUIfX0D nf4dt+YrL0UL/GRmKoJXI+3JToIhpTL5DMLfDQJ4VAi+1WMb782d3RTGtfRRENyJyx1l/fMO wCaZmDJWT+88ciNiyHwWS62Qc1S9P0t7GAnXrH84iBT3bBMMvODiyQZFGF1F9VH/o6fX+rQ7 +AF9CPTONhUm9fg6xPUe3ToBxqozhyBlGFrygHBgUjXA4vWmpWTa2jZaUSrYx1FGQVSu4lcG eDtOgLyOQe4aHIEXWQARAQABiQI2BBgBCAAgFiEEVtVTyN9tQJ/wHqzxIe7T5Pvt6dEFAlxA kKICGwwACgkQIe7T5Pvt6dHNSQ//Z9IocX6YrTHkqKPA2TE2LqVk8AF3LJj+8arZiFg7SSp+ r6WBcLXXqG5fSIskWkuRj/niiCAa1cM7bovUN4vIip2ZkBGVRwI3WPCavPGDTUUxn4wSddWF S7ixtVqgRxcyOfyb1HQDZ8avEPi8dm8zk6nH+ejvCQ7RigDpvoSUkqNiWH5cRA/aZ1oXEfhH mrz/FDZ02aKW/cqJhePAsIvzJP8Al0u1WW58ZfusNGfhgTLr3EznY4h2KkfHffjTdaPViYes g6/Kl2yzLTwMaUMYOgJ0MAgCIVBswV7dn6/VYTC28ufsOvBdwji1OqwYxl2D1K7Vp7ep+dN7 vAY0WPUbxFdO98RqxVqL4x7V8cLIlK+xQNepmEQFe6ymeCTS1w5hbI6/RQDc3pSs8dPmZjlV 4jnNINLk2tZBEUu1G6Gm9UONpdNYhp+84Cjv9KTCJ23p3Ej68ALn8Ahcdu18V1lKO2yeZdwU EM4tkFYlQ5dGzZ1EaXeV+yjd4J4REsLdn1jgFmf948M/exHV4D2tAXYMbEvx34xd3GWw4trL KDO16svW0bwqlsrMNmoQXgLc7A84n7OnXyF3Lx8+4XwPzNEsD6gcJuKsGYoupkVHn+bTlbXd 8yEoam/v6jhl1F1e/zax3yW0z5GvCjngRxYXfalFsTAkBBgPshTdbiUUFLEacyE= Message-ID: <3e20d9a9-c081-5a85-e6e7-89b335528d7d@suse.cz> Date: Thu, 9 Jan 2020 14:59:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="U9Bea9EMPVIoyi6i38avEGXRlHyIby3b4" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 195.135.220.15 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jan 2020 13:59:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --U9Bea9EMPVIoyi6i38avEGXRlHyIby3b4 Content-Type: multipart/mixed; boundary="2Gn1fWDiG52nllkAqui7rFUitIc1LjxAA" --2Gn1fWDiG52nllkAqui7rFUitIc1LjxAA Content-Type: multipart/mixed; boundary="------------047DAB25CC6655F41D1E9EBD" Content-Language: en-US This is a multi-part message in MIME format. --------------047DAB25CC6655F41D1E9EBD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, please find attached patches. The first patch supersedes the patch I have sent on 23/10/2019. I should have copyright assignment already. Greetings, Marketa Calabkova --------------047DAB25CC6655F41D1E9EBD Content-Type: text/x-patch; charset=UTF-8; name="0001-msgcat-Add-feature-to-use-the-newest-po-file.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0001-msgcat-Add-feature-to-use-the-newest-po-file.patch" =46rom a079538e51c6c6e9855d9e7bde1519eaa59bb94d Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Mark=3DC3=3DA9ta=3D20Cal=3DC3=3DA1bkov=3DC3=3DA1?=3D Date: Thu, 9 Jan 2020 14:40:25 +0100 Subject: [PATCH 1/2] msgcat: Add feature to use the newest po file. When concatenating po files, it is often useful to prefer strings from the newest file regardless their ordering on the command line. --- gettext-tools/src/Makefile.am | 4 +- gettext-tools/src/message.c | 6 +++ gettext-tools/src/message.h | 4 ++ gettext-tools/src/msgcat.c | 10 ++++ gettext-tools/src/msgl-age.c | 96 +++++++++++++++++++++++++++++++++ gettext-tools/src/msgl-age.h | 36 +++++++++++++ gettext-tools/src/msgl-cat.c | 15 ++++++ gettext-tools/src/msgl-cat.h | 1 + gettext-tools/src/msgl-header.c | 47 ++++++++++++++++ gettext-tools/src/msgl-header.h | 6 +++ 10 files changed, 223 insertions(+), 2 deletions(-) create mode 100644 gettext-tools/src/msgl-age.c create mode 100644 gettext-tools/src/msgl-age.h diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.a= m index b0894211d..eb4fd4272 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -42,7 +42,7 @@ str-list.h \ write-catalog.h write-po.h write-properties.h write-stringtable.h \ dir-list.h file-list.h po-gram-gen.h po-gram-gen2.h cldr-plural.h \ cldr-plural-exp.h locating-rule.h its.h search-path.h \ -msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-cat.h msgl-he= ader.h \ +msgl-age.h msgl-charset.h msgl-equal.h msgl-iconv.h msgl-ascii.h msgl-ca= t.h msgl-header.h \ msgl-english.h msgl-check.h msgl-fsearch.h msgfmt.h msgunfmt.h \ plural-count.h plural-eval.h plural-distrib.h \ read-mo.h write-mo.h \ @@ -152,7 +152,7 @@ FORMAT_SOURCE +=3D \ libgettextsrc_la_SOURCES =3D \ $(COMMON_SOURCE) read-catalog.c \ write-catalog.c write-properties.c write-stringtable.c write-po.c \ -msgl-ascii.c msgl-iconv.c msgl-equal.c msgl-cat.c msgl-header.c msgl-eng= lish.c \ +msgl-age.c msgl-ascii.c msgl-iconv.c msgl-equal.c msgl-cat.c msgl-header= =2Ec msgl-english.c \ msgl-check.c file-list.c msgl-charset.c po-time.c plural-exp.c plural-ev= al.c \ plural-table.c quote.h sentence.h sentence.c \ $(FORMAT_SOURCE) \ diff --git a/gettext-tools/src/message.c b/gettext-tools/src/message.c index 05437eb15..f6b8aa7a6 100644 --- a/gettext-tools/src/message.c +++ b/gettext-tools/src/message.c @@ -354,6 +354,12 @@ message_list_append (message_list_ty *mlp, message_t= y *mp) abort (); } =20 +void +message_list_append_list (message_list_ty *mlp, message_list_ty *mlp2) +{ + for (int i =3D 0; i < mlp2->nitems; i++) + message_list_append (mlp,mlp2->item[i]); +} =20 void message_list_prepend (message_list_ty *mlp, message_ty *mp) diff --git a/gettext-tools/src/message.h b/gettext-tools/src/message.h index 5ee97187c..f3d4dd99c 100644 --- a/gettext-tools/src/message.h +++ b/gettext-tools/src/message.h @@ -24,6 +24,7 @@ #include "hash.h" =20 #include +#include =20 =20 #ifdef __cplusplus @@ -267,6 +268,8 @@ extern void message_list_free (message_list_ty *mlp, int keep_messages); extern void message_list_append (message_list_ty *mlp, message_ty *mp); +extern void + message_list_append_list (message_list_ty *mlp, message_list_ty *= mlp2); extern void message_list_prepend (message_list_ty *mlp, message_ty *mp); extern void @@ -349,6 +352,7 @@ struct msgdomain_list_ty size_t nitems_max; bool use_hashtable; const char *encoding; /* canonicalized encoding or NULL if unk= nown */ + time_t msgage; }; =20 extern msgdomain_list_ty * diff --git a/gettext-tools/src/msgcat.c b/gettext-tools/src/msgcat.c index 831d48739..c8b0d54a5 100644 --- a/gettext-tools/src/msgcat.c +++ b/gettext-tools/src/msgcat.c @@ -87,6 +87,7 @@ static const struct option long_options[] =3D { "to-code", required_argument, NULL, 't' }, { "unique", no_argument, NULL, 'u' }, { "use-first", no_argument, NULL, CHAR_MAX + 1 }, + { "use-newest", no_argument, NULL, CHAR_MAX + 9 }, { "version", no_argument, NULL, 'V' }, { "width", required_argument, NULL, 'w' }, { "more-than", required_argument, NULL, '>' }, @@ -144,6 +145,7 @@ main (int argc, char **argv) more_than =3D 0; less_than =3D INT_MAX; use_first =3D false; + use_newest =3D false; =20 while ((optchar =3D getopt_long (argc, argv, "<:>:D:eEf:Fhino:pPst:uVw= :", long_options, NULL)) !=3D EOF) @@ -280,6 +282,11 @@ main (int argc, char **argv) message_print_style_filepos (filepos_comment_none); break; =20 + case CHAR_MAX + 9: /* --use-newest */ + use_newest =3D true; + use_first =3D true; + break; + default: usage (EXIT_FAILURE); /* NOTREACHED */ @@ -430,6 +437,9 @@ Output details:\n")); --use-first use first available translation for each\n= \ message, don't merge several translations\= n")); printf (_("\ + --use-newest use the most up-to-date available translat= ion\n\ + for each message, don't merge several tran= slations\n")); + printf (_("\ --lang=3DCATALOGNAME set 'Language' field in the header entry= \n")); printf (_("\ --color use colors and other text attributes alway= s\n\ diff --git a/gettext-tools/src/msgl-age.c b/gettext-tools/src/msgl-age.c new file mode 100644 index 000000000..6a902faa0 --- /dev/null +++ b/gettext-tools/src/msgl-age.c @@ -0,0 +1,96 @@ +/* Message list header time simple parser. + Copyright (C) 2019 Free Software Foundation, Inc. + Written by Mark=C3=A9ta Cal=C3=A1bkov=C3=A1 , 201= 9. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see = =2E */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include + +#include "xalloc.h" +#include "error.h" +#include "xerror.h" +#include "xvasprintf.h" + +#include "msgl-header.h" +#include +#include +#include "gettext.h" + +#include "msgl-age.h" + +#define _(str) gettext (str) + +void +msgdomain_sort_by_ages (msgdomain_list_ty **mdlps, size_t nfiles) +{ + qsort (mdlps, nfiles, sizeof(msgdomain_list_ty*), msgdomain_compare_age= s); +} + +int +msgdomain_compare_ages (const void * p1, const void * p2) +{ + if (difftime((*(msgdomain_list_ty **)p2)->msgage, (*(msgdomain_list_ty= **)p1)->msgage) > 0) + return 1; + else + return 0; +} + +void +msgdomain_read_ages (msgdomain_list_ty *mdlp) +{ + time_t times[mdlp->nitems]; + const char * field =3D "PO-Revision-Date:"; + char * where; + + for (int i =3D 0; i < mdlp->nitems; i++) + { + message_list_ty *mlp =3D mdlp->item[i]->messages; + + message_list_read_header_field (mlp, field, &where); + } + struct tm tmptm; + char *trail; + memset (&tmptm, 0, sizeof(struct tm)); + if ((trail =3D strptime (where, "%Y-%m-%d %H:%M:%S%z", &tmptm)) !=3D N= ULL) + mdlp->msgage =3D mktime (&tmptm); + else if ((trail =3D strptime (where, "%Y-%m-%d %H:%M:%S", &tmptm)) !=3D= NULL) + mdlp->msgage =3D mktime (&tmptm); + else if ((trail =3D strptime (where, "%Y-%m-%d %H:%M%z", &tmptm)) !=3D= NULL) + mdlp->msgage =3D mktime (&tmptm); + else if ((trail =3D strptime (where, "%Y-%m-%d %H:%M", &tmptm)) !=3D N= ULL) + mdlp->msgage =3D mktime (&tmptm); + else + { + /* There is probably no creation date. Assign 0 and throw warning. *= / + mdlp->msgage =3D 0; + multiline_warning (xasprintf (_("warning: ")), + xasprintf (_("\ +PO-Revision-Date has no or invalid value, assuming it is old.\n\ +"))); + return; + } + if ((*trail !=3D '\n') && (*trail !=3D '\0')) + multiline_warning (xasprintf (_("warning: ")), + xasprintf (_("\ +Unknown trailing characters after PO-Revision-Date, ignoring.\n\ +"))); +} + + + diff --git a/gettext-tools/src/msgl-age.h b/gettext-tools/src/msgl-age.h new file mode 100644 index 000000000..af12dd930 --- /dev/null +++ b/gettext-tools/src/msgl-age.h @@ -0,0 +1,36 @@ +/* Message list header time simple parser. + Copyright (C) 2019 Free Software Foundation, Inc. + Written by Mark=C3=A9ta Cal=C3=A1bkov=C3=A1 , 201= 9. + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see = =2E */ + +#ifndef _MSGL_AGE_H +#define _MSGL_AGE_H + +#include "message.h" + +/* Helper function to compare the ages, needed by qsort. */ +int + msgdomain_compare_ages (const void *, const void *); + +/* Simple function to modify intern ordering of files=20 + * such that the newer file comes first. In fact it just calls qsort. */= +void + msgdomain_sort_by_ages (msgdomain_list_ty **, size_t); + +/* Parse dates in PO-Revision-Date: and store them inside the structure.= */ +void + msgdomain_read_ages (msgdomain_list_ty *); + +#endif diff --git a/gettext-tools/src/msgl-cat.c b/gettext-tools/src/msgl-cat.c index 2e806497c..029dd88b5 100644 --- a/gettext-tools/src/msgl-cat.c +++ b/gettext-tools/src/msgl-cat.c @@ -37,6 +37,7 @@ #include "message.h" #include "read-catalog.h" #include "po-charset.h" +#include "msgl-age.h" #include "msgl-ascii.h" #include "msgl-equal.h" #include "msgl-iconv.h" @@ -57,6 +58,11 @@ int less_than; If false, merge all available translations into one and fuzzy it. */= bool use_first; =20 +/* If true, sort all the translation according to their age and let + use_first finish the job. + If false, keep the order of translations. */ +bool use_newest; + /* If true, merge like msgcomm. If false, merge like msgcat and msguniq. */ bool msgcomm_mode =3D false; @@ -123,6 +129,15 @@ catenate_msgdomain_list (string_list_ty *file_list, for (n =3D 0; n < nfiles; n++) mdlps[n] =3D read_catalog_file (files[n], input_syntax); =20 + /* --use-newest case -- sort messages by time and then let --use-first= finish the job */ + if (use_newest) + { + for (n =3D 0; n < nfiles; n++) + msgdomain_read_ages (mdlps[n]); + + msgdomain_sort_by_ages (mdlps, nfiles); + } + /* Determine the canonical name of each input file's encoding. */ canon_charsets =3D XNMALLOC (nfiles, const char **); for (n =3D 0; n < nfiles; n++) diff --git a/gettext-tools/src/msgl-cat.h b/gettext-tools/src/msgl-cat.h index 878fa0558..811244fa1 100644 --- a/gettext-tools/src/msgl-cat.h +++ b/gettext-tools/src/msgl-cat.h @@ -37,6 +37,7 @@ extern DLL_VARIABLE int less_than; /* If true, use the first available translation. If false, merge all available translations into one and fuzzy it. */= extern DLL_VARIABLE bool use_first; +extern DLL_VARIABLE bool use_newest; =20 /* If true, merge like msgcomm. If false, merge like msgcat and msguniq. */ diff --git a/gettext-tools/src/msgl-header.c b/gettext-tools/src/msgl-hea= der.c index c7eaa21a2..52162660a 100644 --- a/gettext-tools/src/msgl-header.c +++ b/gettext-tools/src/msgl-header.c @@ -222,3 +222,50 @@ message_list_delete_header_field (message_list_ty *m= lp, } } } + +void +message_list_read_header_field (message_list_ty *mlp, + const char *field, char **where_ptr) +{ + size_t field_len =3D strlen (field); + size_t j; + + /* Search the header entry. */ + for (j =3D 0; j < mlp->nitems; j++) + if (is_header (mlp->item[j]) && !mlp->item[j]->obsolete) + { + /* We found the correct message. */ + message_ty *mp =3D mlp->item[j]; + + /* Tag the header entry. */ + const char *header =3D mp->msgstr; + + /* Test whether the field occurs in the header entry. */ + const char *h; + + for (h =3D header; *h !=3D '\0'; ) + { + if (strncmp (h, field, field_len) =3D=3D 0) + break; + /* Jump by lines. */ + h =3D strchr (h, '\n'); + if (h =3D=3D NULL) + break; + h++; + } + if (h !=3D NULL && *h !=3D '\0') + { + /* We found it and it is nonempty. Read the value of the fie= ld. */ + h +=3D field_len + 1; + char *enh =3D strchr (h, '\n'); + if (enh !=3D NULL && *enh !=3D '\0') + { + *where_ptr =3D (char *)XNMALLOC (((enh - h) + 1), char); + memcpy (*where_ptr, h, enh - h); + /* Make the string null-terminated. */ + (*where_ptr)[enh-h] =3D '\0'; + } + } + } +} + diff --git a/gettext-tools/src/msgl-header.h b/gettext-tools/src/msgl-hea= der.h index 9e50b8bd6..3c3357978 100644 --- a/gettext-tools/src/msgl-header.h +++ b/gettext-tools/src/msgl-header.h @@ -40,6 +40,12 @@ extern void message_list_delete_header_field (message_list_ty *mlp, const char *field); =20 +/* Read the given field from the header. + The FIELD name ends in a colon. */ +extern void + message_list_read_header_field (message_list_ty *mlp, + const char *field, char **where= _ptr); + =20 #ifdef __cplusplus } --=20 2.24.1 --------------047DAB25CC6655F41D1E9EBD Content-Type: text/x-patch; charset=UTF-8; name="0002-msgcat-Merge-headers-when-use-first.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="0002-msgcat-Merge-headers-when-use-first.patch" =46rom df4aef6209615bdd44cd45208acfe7367451a8fe Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Mark=3DC3=3DA9ta=3D20Cal=3DC3=3DA1bkov=3DC3=3DA1?=3D Date: Thu, 9 Jan 2020 14:45:49 +0100 Subject: [PATCH 2/2] msgcat: Merge headers when --use-first Merging headers line by line is especially useful when one header line is present only in the second file. For example when Plural-Forms: is present only in the second file, msgcat could create an invalid output file. We also return error when Plural-Forms: values do not match. --- gettext-tools/src/message.c | 2 - gettext-tools/src/msgl-cat.c | 5 ++ gettext-tools/src/msgl-header.c | 155 +++++++++++++++++++++++++++++--- gettext-tools/src/msgl-header.h | 8 ++ 4 files changed, 157 insertions(+), 13 deletions(-) diff --git a/gettext-tools/src/message.c b/gettext-tools/src/message.c index f6b8aa7a6..5de63bf5a 100644 --- a/gettext-tools/src/message.c +++ b/gettext-tools/src/message.c @@ -413,7 +413,6 @@ message_list_insert_at (message_list_ty *mlp, size_t = n, message_ty *mp) } =20 =20 -#if 0 /* unused */ void message_list_delete_nth (message_list_ty *mlp, size_t n) { @@ -433,7 +432,6 @@ message_list_delete_nth (message_list_ty *mlp, size_t= n) mlp->use_hashtable =3D false; } } -#endif =20 =20 void diff --git a/gettext-tools/src/msgl-cat.c b/gettext-tools/src/msgl-cat.c index 029dd88b5..75d1c0773 100644 --- a/gettext-tools/src/msgl-cat.c +++ b/gettext-tools/src/msgl-cat.c @@ -40,6 +40,7 @@ #include "msgl-age.h" #include "msgl-ascii.h" #include "msgl-equal.h" +#include "msgl-header.h" #include "msgl-iconv.h" #include "xalloc.h" #include "xmalloca.h" @@ -286,6 +287,10 @@ catenate_msgdomain_list (string_list_ty *file_list, } } =20 + /* Merge headers, please. */ + if (use_first) + msgdomain_lists_merge_headers (mdlps, nfiles); + /* Create list of resulting messages, but don't fill it. Only count the number of translations for each message. If for a message, there is at least one non-fuzzy, non-empty transl= ation, diff --git a/gettext-tools/src/msgl-header.c b/gettext-tools/src/msgl-hea= der.c index 52162660a..2e519b80e 100644 --- a/gettext-tools/src/msgl-header.c +++ b/gettext-tools/src/msgl-header.c @@ -26,9 +26,12 @@ #include =20 #include "xalloc.h" +#include "xerror.h" +#include "xvasprintf.h" +#include "gettext.h" =20 #define SIZEOF(a) (sizeof(a) / sizeof(a[0])) - +#define _(str) gettext (str) =20 /* The known fields in their usual order. */ static const struct @@ -50,6 +53,95 @@ known_fields[] =3D { "Content-Transfer-Encoding:", sizeof ("Content-Transfer-Encoding:"= ) - 1 } }; =20 +void +msgdomain_lists_merge_headers (msgdomain_list_ty **mdlps, + size_t nfiles) +{ + message_list_list_ty * headers =3D message_list_list_alloc (); + char * plur =3D "Plural-Forms:"; + char * plurals[nfiles]; + int plur_index =3D 0; + /* First, find all header entries and cut them to lines. */ + for (int n =3D 0; n < nfiles; n++) + { + msgdomain_list_ty *mdlp =3D mdlps[n]; + for (size_t k =3D 0; k < mdlp->nitems; k++) + message_list_list_append (headers, message_list_header_list (mdl= p->item[k]->messages)); + + /* Set plural to NULL by default. */ + plurals[n] =3D NULL; + } + /* While there are some messages remaining, take the first one. */ + while (headers->nitems > 0) + { + message_ty * field =3D headers->item[0]->item[0]; + /* Let us save plurals for later use. */ + if (strcmp(field->msgid, plur) =3D=3D 0) + { + plurals[0] =3D XNMALLOC (field->msgstr_len+1, char); + strcpy (plurals[0], field->msgstr); + for (int i =3D 1; i < headers->nitems; i++) + { + message_ty * mp =3D message_list_search (headers->item[i],= NULL, plur); + if (mp!=3DNULL) + { + plurals[i] =3D XNMALLOC (mp->msgstr_len+1, char); + strcpy (plurals[i], mp->msgstr); + } + } + } + /* Set the header field and delete all the occurences of the field= =2E */ + msgdomain_list_set_header_field (mdlps[0], field->msgid, field->ms= gstr); + for (int i =3D 1; i < headers->nitems; i++) + { + message_ty * mp =3D message_list_search (headers->item[i], NUL= L, field->msgid); + if (mp !=3D NULL) + { + /* If needed, fix line numbering in advance. */ + if (mp !=3D headers->item[i]->item[0]) + for (int l =3D mp->pos.line_number - headers->item[i]->i= tem[0]->pos.line_number + 1; l < headers->item[i]->nitems; l++) + headers->item[i]->item[l]->pos.line_number--; + message_list_delete_nth (headers->item[i], mp->pos.line_nu= mber - headers->item[i]->item[0]->pos.line_number); + } + } + message_list_delete_nth (headers->item[0], 0); + /* If the first header is empty, start to process next nonempty he= ader. */ + while (headers->nitems > 0 && headers->item[0]->nitems =3D=3D 0) + { + message_list_free (headers->item[0], 0); + for (int i =3D 0; i < headers->nitems - 1; i++) + headers->item[i] =3D headers->item[i+1]; + headers->nitems--; + } + } + + /* Some plural manipulation. */ + char *res =3D NULL; + char *prevres =3D NULL; + prevres =3D plurals[0]; + /* The prevres is the value currently in the output header, + * res is the value just read. So if res =3D=3D NULL we just + * continue, which is correct. */ + for (int n =3D 1; n < nfiles; n++) + { + res =3D plurals[n]; + if (res !=3D NULL) + { + if (prevres =3D=3D NULL) + { + msgdomain_list_set_header_field (mdlps[0], plur, res); + prevres =3D res; + } + else if (strcmp (res, prevres) !=3D 0) + { + multiline_error (xstrdup (""), + xasprintf (_("\ +Input po files have different Plural-Forms. Invalid output file was crea= ted. \n\ +Please, fix the plurals.\n"))); + } + } + } +} =20 void msgdomain_list_set_header_field (msgdomain_list_ty *mdlp, @@ -81,8 +173,8 @@ msgdomain_list_set_header_field (msgdomain_list_ty *md= lp, { message_ty *mp =3D mlp->item[j]; =20 - /* Modify the header entry. */ - const char *header =3D mp->msgstr; + /* Modify the header entry (it does not have to be present).= */ + const char *header =3D (mp->msgstr !=3D NULL) ? mp->msgstr := "\0"; char *new_header =3D XNMALLOC (strlen (header) + 1 + strlen (field) + 1 + strlen (value) + 1 + 1, @@ -230,14 +322,14 @@ message_list_read_header_field (message_list_ty *ml= p, size_t field_len =3D strlen (field); size_t j; =20 + *where_ptr =3D NULL; + /* Search the header entry. */ for (j =3D 0; j < mlp->nitems; j++) if (is_header (mlp->item[j]) && !mlp->item[j]->obsolete) { - /* We found the correct message. */ + /* We found the correct message. */ message_ty *mp =3D mlp->item[j]; - - /* Tag the header entry. */ const char *header =3D mp->msgstr; =20 /* Test whether the field occurs in the header entry. */ @@ -247,7 +339,7 @@ message_list_read_header_field (message_list_ty *mlp,= { if (strncmp (h, field, field_len) =3D=3D 0) break; - /* Jump by lines. */ + /* Jump by lines. */ h =3D strchr (h, '\n'); if (h =3D=3D NULL) break; @@ -257,15 +349,56 @@ message_list_read_header_field (message_list_ty *ml= p, { /* We found it and it is nonempty. Read the value of the fie= ld. */ h +=3D field_len + 1; - char *enh =3D strchr (h, '\n'); - if (enh !=3D NULL && *enh !=3D '\0') + char *enh =3D strchr (h, '\n'); + if (enh !=3D NULL && *enh !=3D '\0') { *where_ptr =3D (char *)XNMALLOC (((enh - h) + 1), char); memcpy (*where_ptr, h, enh - h); - /* Make the string null-terminated. */ + /* Make the string null-terminated. */ (*where_ptr)[enh-h] =3D '\0'; - } + } } } } =20 +message_list_ty * +message_list_header_list (message_list_ty *mlp) +{ + size_t j; + + /* Search the header entry. */ + for (j =3D 0; j < mlp->nitems; j++) + if (is_header (mlp->item[j]) && !mlp->item[j]->obsolete) + { + /* We found the correct message. */ + message_ty *mp =3D mlp->item[j]; + const char *h =3D mp->msgstr; + message_list_ty * header =3D message_list_alloc (false); + int ctr =3D 0; + + while (*h !=3D '\0') + { + char *enh =3D strchr (h, ':'); + enh++; + char * msgid =3D (char *)XNMALLOC (((enh - h) + 1), char); + memcpy (msgid, h, enh - h); + /* Make the string null-terminated. */ + (msgid)[enh-h] =3D '\0'; + h =3D enh + 1; + + enh =3D strchr (h, '\n'); + if (enh !=3D NULL) + { + char * msgstr =3D (char *)XNMALLOC (((enh - h) + 1), cha= r); + memcpy (msgstr, h, enh - h); + /* Make the string null-terminated. */ + msgstr[enh-h] =3D '\0'; + lex_pos_ty pos =3D {NULL, ctr++}; + message_list_append (header, message_alloc (NULL, msgid,= NULL, msgstr, enh - h, &pos)); + h =3D enh + 1; + } + else return NULL; + } + return header; + } +} diff --git a/gettext-tools/src/msgl-header.h b/gettext-tools/src/msgl-hea= der.h index 3c3357978..79a41100e 100644 --- a/gettext-tools/src/msgl-header.h +++ b/gettext-tools/src/msgl-header.h @@ -33,6 +33,11 @@ extern "C" { extern void msgdomain_list_set_header_field (msgdomain_list_ty *mdlp, const char *field, const char *v= alue); +/* Merge headers of po files. + */ +extern void + msgdomain_lists_merge_headers (msgdomain_list_ty **mdlps, + size_t nfiles); =20 /* Remove the given field from the header. The FIELD name ends in a colon. */ @@ -46,6 +51,9 @@ extern void message_list_read_header_field (message_list_ty *mlp, const char *field, char **where= _ptr); =20 +/* List all the headers from a po file. */ +extern message_list_ty * + message_list_header_list (message_list_ty *mlp); =20 #ifdef __cplusplus } --=20 2.24.1 --------------047DAB25CC6655F41D1E9EBD-- --2Gn1fWDiG52nllkAqui7rFUitIc1LjxAA-- --U9Bea9EMPVIoyi6i38avEGXRlHyIby3b4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEVtVTyN9tQJ/wHqzxIe7T5Pvt6dEFAl4XMa8ACgkQIe7T5Pvt 6dEouRAA13TdcTD2iaxaBypbFtVwDggLUOe2AwDeP++SBZ2YEQBkPV7uBX9cYA74 0NNENHBZGw9oUs4g7rSQ59g4K9tnEGojnfmVYz5QMQxSiWct6+t2N7ZnmsxWXFUK gBeKRHdv7AOYFKhnrQ7fyXDLnUoilk3e6if5pp1pNtjer67NW0LuokgnHlpBnMTO aPkKNE4STdSEg6hLhvRHOJNfQwxGhgo96j4kaTzzpjO9TxwKHl8yrgqP2S5VoKb4 N2VwkZtuahu8tgYqUmELejhBM+XFOOAWncobE/MB9KN/cJve4cdrCYFgmuWi3rEw Zbn/nlpCY2Og3B/tKKbE33tGW/vK4zwGoueRuvE6T4KVQZCkWjNTvMfjvyno/hIk HesP8opS5p8LEdRNyruFQc+og7NE+wdc3rU6+4m/YnYlrnXv5HGMfCPU2LTayyqx 6W8pw5bEkmCDi1VNW1uYr9lzUZUfm5zRZ+GtWc46UETq9dtIek3JEwqQc9YD2f7Z 63Y9FBxs95ensduHCCNDS/htsZh31CprswN2yiOQIkelcILyzC9QEIjRVSEMA/a+ bxlKqUe5O0JJdvXDUgYTItYROBYgkxwYiatgmV1S1l5pj07bFaNAjbpvbw0L7SsN jJ1JE7lf/57aCUrzl4FdKAfUboyfpFJw8pRM2tc2dZ8UiJjlgBM= =yCSB -----END PGP SIGNATURE----- --U9Bea9EMPVIoyi6i38avEGXRlHyIby3b4-- From MAILER-DAEMON Fri Jan 17 09:15:07 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1isSOx-0006jM-I5 for mharc-bug-gettext@gnu.org; Fri, 17 Jan 2020 09:15:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58680) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1isPHj-00089O-8s for bug-gettext@gnu.org; Fri, 17 Jan 2020 05:55:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1isPHY-0003TD-3V for bug-gettext@gnu.org; Fri, 17 Jan 2020 05:55:26 -0500 Received: from de.cellform.com ([88.217.224.109]:34918 helo=jocasta.intra) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1isPHU-0003Fs-Qa for bug-gettext@gnu.org; Fri, 17 Jan 2020 05:55:16 -0500 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.15.2/8.15.2/Debian-8) with ESMTPS id 00HAt1vu009520 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Jan 2020 11:55:01 +0100 Received: (from john@localhost) by jocasta.intra (8.15.2/8.15.2/Submit) id 00HAt1px009518; Fri, 17 Jan 2020 11:55:01 +0100 From: John Darrington To: bug-gettext@gnu.org Cc: John Darrington Subject: [PATCH] Add copyright and licence notices to test files Date: Fri, 17 Jan 2020 11:54:57 +0100 Message-Id: <20200117105457.9470-1-john@darrington.wattle.id.au> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by jocasta.intra id 00HAt1vu009520 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 88.217.224.109 X-Mailman-Approved-At: Fri, 17 Jan 2020 09:15:02 -0500 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2020 10:55:37 -0000 This change adds copyright notices and licence notices to test files, and= removes the exception in ./check-copyright-headers. Rationale: The primary purpose o= f these is not to enable us to sue transgressors but to make clear to everyone that they= have the rights to copy, distribute modify etc. This simple permissive licence allows t= hem to do that even in proprietary work. --- check-copyright-headers | 9 --------- gettext-tools/tests/ChangeLog.0 | 8 ++++++++ gettext-tools/tests/ChangeLog.1 | 8 ++++++++ gettext-tools/tests/autopoint-1 | 8 ++++++++ gettext-tools/tests/autopoint-2 | 8 ++++++++ gettext-tools/tests/autopoint-3 | 8 ++++++++ gettext-tools/tests/cldr-plurals-1 | 8 ++++++++ gettext-tools/tests/format-awk-1 | 8 ++++++++ gettext-tools/tests/format-awk-2 | 8 ++++++++ gettext-tools/tests/format-boost-1 | 8 ++++++++ gettext-tools/tests/format-boost-2 | 8 ++++++++ gettext-tools/tests/format-c-1 | 8 ++++++++ gettext-tools/tests/format-c-2 | 8 ++++++++ gettext-tools/tests/format-c-3 | 8 ++++++++ gettext-tools/tests/format-c-4 | 8 ++++++++ gettext-tools/tests/format-c-5 | 8 ++++++++ gettext-tools/tests/format-csharp-1 | 8 ++++++++ gettext-tools/tests/format-csharp-2 | 8 ++++++++ gettext-tools/tests/format-elisp-1 | 8 ++++++++ gettext-tools/tests/format-elisp-2 | 8 ++++++++ gettext-tools/tests/format-gcc-internal-1 | 8 ++++++++ gettext-tools/tests/format-gcc-internal-2 | 8 ++++++++ gettext-tools/tests/format-gfc-internal-1 | 8 ++++++++ gettext-tools/tests/format-gfc-internal-2 | 8 ++++++++ gettext-tools/tests/format-java-1 | 8 ++++++++ gettext-tools/tests/format-java-2 | 8 ++++++++ gettext-tools/tests/format-java-printf-1 | 8 ++++++++ gettext-tools/tests/format-java-printf-2 | 8 ++++++++ gettext-tools/tests/format-javascript-1 | 8 ++++++++ gettext-tools/tests/format-javascript-2 | 8 ++++++++ gettext-tools/tests/format-kde-1 | 8 ++++++++ gettext-tools/tests/format-kde-2 | 8 ++++++++ gettext-tools/tests/format-kde-kuit-1 | 8 ++++++++ gettext-tools/tests/format-kde-kuit-2 | 8 ++++++++ gettext-tools/tests/format-librep-1 | 8 ++++++++ gettext-tools/tests/format-librep-2 | 8 ++++++++ gettext-tools/tests/format-lisp-1 | 8 ++++++++ gettext-tools/tests/format-lisp-2 | 8 ++++++++ gettext-tools/tests/format-lua-1 | 8 ++++++++ gettext-tools/tests/format-lua-2 | 8 ++++++++ gettext-tools/tests/format-pascal-1 | 8 ++++++++ gettext-tools/tests/format-pascal-2 | 8 ++++++++ gettext-tools/tests/format-perl-1 | 8 ++++++++ gettext-tools/tests/format-perl-2 | 8 ++++++++ gettext-tools/tests/format-perl-brace-1 | 8 ++++++++ gettext-tools/tests/format-perl-brace-2 | 8 ++++++++ gettext-tools/tests/format-perl-mixed-1 | 8 ++++++++ gettext-tools/tests/format-perl-mixed-2 | 8 ++++++++ gettext-tools/tests/format-php-1 | 8 ++++++++ gettext-tools/tests/format-php-2 | 8 ++++++++ gettext-tools/tests/format-python-1 | 8 ++++++++ gettext-tools/tests/format-python-2 | 8 ++++++++ gettext-tools/tests/format-python-brace-1 | 8 ++++++++ gettext-tools/tests/format-python-brace-2 | 8 ++++++++ gettext-tools/tests/format-qt-1 | 8 ++++++++ gettext-tools/tests/format-qt-2 | 8 ++++++++ gettext-tools/tests/format-qt-plural-1 | 8 ++++++++ gettext-tools/tests/format-qt-plural-2 | 8 ++++++++ gettext-tools/tests/format-scheme-1 | 8 ++++++++ gettext-tools/tests/format-scheme-2 | 8 ++++++++ gettext-tools/tests/format-sh-1 | 8 ++++++++ gettext-tools/tests/format-sh-2 | 8 ++++++++ gettext-tools/tests/format-tcl-1 | 8 ++++++++ gettext-tools/tests/format-tcl-2 | 8 ++++++++ gettext-tools/tests/format-ycp-1 | 8 ++++++++ gettext-tools/tests/format-ycp-2 | 8 ++++++++ gettext-tools/tests/gettext-1 | 8 ++++++++ gettext-tools/tests/gettext-2 | 8 ++++++++ gettext-tools/tests/gettextpo-1.de.po | 8 ++++++++ gettext-tools/tests/init-env.in | 8 ++++++++ gettext-tools/tests/init.cfg | 8 ++++++++ gettext-tools/tests/intl-1 | 8 ++++++++ gettext-tools/tests/intl-2 | 8 ++++++++ gettext-tools/tests/intl-3 | 8 ++++++++ gettext-tools/tests/intl-4 | 8 ++++++++ gettext-tools/tests/intl-setlocale-1 | 8 ++++++++ gettext-tools/tests/intl-setlocale-2 | 8 ++++++++ gettext-tools/tests/intl-thread-1 | 8 ++++++++ gettext-tools/tests/intl-thread-2 | 8 ++++++++ gettext-tools/tests/intl-thread-3 | 8 ++++++++ gettext-tools/tests/lang-bash | 8 ++++++++ gettext-tools/tests/lang-c | 8 ++++++++ gettext-tools/tests/lang-c++ | 8 ++++++++ gettext-tools/tests/lang-clisp | 8 ++++++++ gettext-tools/tests/lang-csharp | 8 ++++++++ gettext-tools/tests/lang-elisp | 8 ++++++++ gettext-tools/tests/lang-gawk | 8 ++++++++ gettext-tools/tests/lang-guile | 8 ++++++++ gettext-tools/tests/lang-java | 8 ++++++++ gettext-tools/tests/lang-javascript | 8 ++++++++ gettext-tools/tests/lang-librep | 8 ++++++++ gettext-tools/tests/lang-lua | 8 ++++++++ gettext-tools/tests/lang-objc | 8 ++++++++ gettext-tools/tests/lang-pascal | 8 ++++++++ gettext-tools/tests/lang-perl-1 | 8 ++++++++ gettext-tools/tests/lang-perl-2 | 8 ++++++++ gettext-tools/tests/lang-php | 8 ++++++++ gettext-tools/tests/lang-po | 8 ++++++++ gettext-tools/tests/lang-python-1 | 8 ++++++++ gettext-tools/tests/lang-python-2 | 8 ++++++++ gettext-tools/tests/lang-rst | 8 ++++++++ gettext-tools/tests/lang-sh | 8 ++++++++ gettext-tools/tests/lang-smalltalk | 8 ++++++++ gettext-tools/tests/lang-tcl | 8 ++++++++ gettext-tools/tests/lang-vala | 8 ++++++++ gettext-tools/tests/lang-ycp | 8 ++++++++ gettext-tools/tests/mm-ko-comp.euc-kr.po | 8 ++++++++ gettext-tools/tests/mm-ko.ascii.pot | 8 ++++++++ gettext-tools/tests/mm-ko.euc-kr.po | 8 ++++++++ gettext-tools/tests/mm-viet.comp.po | 8 ++++++++ gettext-tools/tests/mm-viet.out | 8 ++++++++ gettext-tools/tests/mm-viet.pot | 8 ++++++++ gettext-tools/tests/msgattrib-1 | 8 ++++++++ gettext-tools/tests/msgattrib-10 | 8 ++++++++ gettext-tools/tests/msgattrib-11 | 8 ++++++++ gettext-tools/tests/msgattrib-12 | 8 ++++++++ gettext-tools/tests/msgattrib-13 | 8 ++++++++ gettext-tools/tests/msgattrib-14 | 8 ++++++++ gettext-tools/tests/msgattrib-15 | 8 ++++++++ gettext-tools/tests/msgattrib-16 | 8 ++++++++ gettext-tools/tests/msgattrib-17 | 8 ++++++++ gettext-tools/tests/msgattrib-18 | 8 ++++++++ gettext-tools/tests/msgattrib-19 | 8 ++++++++ gettext-tools/tests/msgattrib-2 | 8 ++++++++ gettext-tools/tests/msgattrib-3 | 8 ++++++++ gettext-tools/tests/msgattrib-4 | 8 ++++++++ gettext-tools/tests/msgattrib-5 | 8 ++++++++ gettext-tools/tests/msgattrib-6 | 8 ++++++++ gettext-tools/tests/msgattrib-7 | 8 ++++++++ gettext-tools/tests/msgattrib-8 | 8 ++++++++ gettext-tools/tests/msgattrib-9 | 8 ++++++++ gettext-tools/tests/msgattrib-properties-1 | 8 ++++++++ gettext-tools/tests/msgcat-1 | 8 ++++++++ gettext-tools/tests/msgcat-10 | 8 ++++++++ gettext-tools/tests/msgcat-11 | 8 ++++++++ gettext-tools/tests/msgcat-12 | 8 ++++++++ gettext-tools/tests/msgcat-13 | 8 ++++++++ gettext-tools/tests/msgcat-14 | 8 ++++++++ gettext-tools/tests/msgcat-15 | 8 ++++++++ gettext-tools/tests/msgcat-16 | 8 ++++++++ gettext-tools/tests/msgcat-17 | 8 ++++++++ gettext-tools/tests/msgcat-18 | 8 ++++++++ gettext-tools/tests/msgcat-19 | 8 ++++++++ gettext-tools/tests/msgcat-2 | 8 ++++++++ gettext-tools/tests/msgcat-20 | 8 ++++++++ gettext-tools/tests/msgcat-21 | 8 ++++++++ gettext-tools/tests/msgcat-3 | 8 ++++++++ gettext-tools/tests/msgcat-4 | 8 ++++++++ gettext-tools/tests/msgcat-5 | 8 ++++++++ gettext-tools/tests/msgcat-6 | 8 ++++++++ gettext-tools/tests/msgcat-7 | 8 ++++++++ gettext-tools/tests/msgcat-8 | 8 ++++++++ gettext-tools/tests/msgcat-9 | 8 ++++++++ gettext-tools/tests/msgcat-properties-1 | 8 ++++++++ gettext-tools/tests/msgcat-properties-2 | 8 ++++++++ gettext-tools/tests/msgcat-stringtable-1 | 8 ++++++++ gettext-tools/tests/msgcmp-1 | 8 ++++++++ gettext-tools/tests/msgcmp-2 | 8 ++++++++ gettext-tools/tests/msgcmp-3 | 8 ++++++++ gettext-tools/tests/msgcmp-4 | 8 ++++++++ gettext-tools/tests/msgcomm-1 | 8 ++++++++ gettext-tools/tests/msgcomm-10 | 8 ++++++++ gettext-tools/tests/msgcomm-11 | 8 ++++++++ gettext-tools/tests/msgcomm-12 | 8 ++++++++ gettext-tools/tests/msgcomm-13 | 8 ++++++++ gettext-tools/tests/msgcomm-14 | 8 ++++++++ gettext-tools/tests/msgcomm-15 | 8 ++++++++ gettext-tools/tests/msgcomm-16 | 8 ++++++++ gettext-tools/tests/msgcomm-17 | 8 ++++++++ gettext-tools/tests/msgcomm-18 | 8 ++++++++ gettext-tools/tests/msgcomm-19 | 8 ++++++++ gettext-tools/tests/msgcomm-2 | 8 ++++++++ gettext-tools/tests/msgcomm-20 | 8 ++++++++ gettext-tools/tests/msgcomm-21 | 8 ++++++++ gettext-tools/tests/msgcomm-22 | 8 ++++++++ gettext-tools/tests/msgcomm-24 | 8 ++++++++ gettext-tools/tests/msgcomm-25 | 8 ++++++++ gettext-tools/tests/msgcomm-26 | 8 ++++++++ gettext-tools/tests/msgcomm-27 | 8 ++++++++ gettext-tools/tests/msgcomm-28 | 8 ++++++++ gettext-tools/tests/msgcomm-3 | 8 ++++++++ gettext-tools/tests/msgcomm-4 | 8 ++++++++ gettext-tools/tests/msgcomm-5 | 8 ++++++++ gettext-tools/tests/msgcomm-6 | 8 ++++++++ gettext-tools/tests/msgcomm-7 | 8 ++++++++ gettext-tools/tests/msgcomm-8 | 8 ++++++++ gettext-tools/tests/msgcomm-9 | 8 ++++++++ gettext-tools/tests/msgconv-1 | 8 ++++++++ gettext-tools/tests/msgconv-2 | 8 ++++++++ gettext-tools/tests/msgconv-3 | 8 ++++++++ gettext-tools/tests/msgconv-4 | 8 ++++++++ gettext-tools/tests/msgconv-5 | 8 ++++++++ gettext-tools/tests/msgconv-6 | 8 ++++++++ gettext-tools/tests/msgconv-7 | 8 ++++++++ gettext-tools/tests/msgen-1 | 8 ++++++++ gettext-tools/tests/msgen-2 | 8 ++++++++ gettext-tools/tests/msgen-3 | 8 ++++++++ gettext-tools/tests/msgen-4 | 8 ++++++++ gettext-tools/tests/msgexec-1 | 8 ++++++++ gettext-tools/tests/msgexec-2 | 8 ++++++++ gettext-tools/tests/msgexec-3 | 8 ++++++++ gettext-tools/tests/msgexec-4 | 8 ++++++++ gettext-tools/tests/msgexec-5 | 8 ++++++++ gettext-tools/tests/msgexec-6 | 8 ++++++++ gettext-tools/tests/msgfilter-1 | 8 ++++++++ gettext-tools/tests/msgfilter-2 | 8 ++++++++ gettext-tools/tests/msgfilter-3 | 8 ++++++++ gettext-tools/tests/msgfilter-4 | 8 ++++++++ gettext-tools/tests/msgfilter-5 | 8 ++++++++ gettext-tools/tests/msgfilter-6 | 8 ++++++++ gettext-tools/tests/msgfilter-7 | 8 ++++++++ gettext-tools/tests/msgfilter-8 | 8 ++++++++ gettext-tools/tests/msgfilter-quote-1 | 8 ++++++++ gettext-tools/tests/msgfilter-sr-latin-1 | 8 ++++++++ gettext-tools/tests/msgfmt-1 | 8 ++++++++ gettext-tools/tests/msgfmt-10 | 8 ++++++++ gettext-tools/tests/msgfmt-11 | 8 ++++++++ gettext-tools/tests/msgfmt-12 | 8 ++++++++ gettext-tools/tests/msgfmt-13 | 8 ++++++++ gettext-tools/tests/msgfmt-14 | 8 ++++++++ gettext-tools/tests/msgfmt-15 | 8 ++++++++ gettext-tools/tests/msgfmt-16 | 8 ++++++++ gettext-tools/tests/msgfmt-17 | 8 ++++++++ gettext-tools/tests/msgfmt-18 | 8 ++++++++ gettext-tools/tests/msgfmt-19 | 8 ++++++++ gettext-tools/tests/msgfmt-2 | 8 ++++++++ gettext-tools/tests/msgfmt-3 | 8 ++++++++ gettext-tools/tests/msgfmt-4 | 8 ++++++++ gettext-tools/tests/msgfmt-5 | 8 ++++++++ gettext-tools/tests/msgfmt-6 | 8 ++++++++ gettext-tools/tests/msgfmt-7 | 8 ++++++++ gettext-tools/tests/msgfmt-8 | 8 ++++++++ gettext-tools/tests/msgfmt-9 | 8 ++++++++ gettext-tools/tests/msgfmt-desktop-1 | 8 ++++++++ gettext-tools/tests/msgfmt-desktop-2 | 8 ++++++++ gettext-tools/tests/msgfmt-desktop-3 | 8 ++++++++ gettext-tools/tests/msgfmt-properties-1 | 8 ++++++++ gettext-tools/tests/msgfmt-xml-1 | 8 ++++++++ gettext-tools/tests/msgfmt-xml-2 | 8 ++++++++ gettext-tools/tests/msggrep-1 | 8 ++++++++ gettext-tools/tests/msggrep-11 | 8 ++++++++ gettext-tools/tests/msggrep-2 | 8 ++++++++ gettext-tools/tests/msggrep-3 | 8 ++++++++ gettext-tools/tests/msggrep-4 | 8 ++++++++ gettext-tools/tests/msggrep-5 | 8 ++++++++ gettext-tools/tests/msggrep-6 | 8 ++++++++ gettext-tools/tests/msggrep-7 | 8 ++++++++ gettext-tools/tests/msggrep-8 | 8 ++++++++ gettext-tools/tests/msggrep-9 | 8 ++++++++ gettext-tools/tests/msginit-1 | 8 ++++++++ gettext-tools/tests/msginit-2 | 8 ++++++++ gettext-tools/tests/msginit-3 | 8 ++++++++ gettext-tools/tests/msginit-4 | 8 ++++++++ gettext-tools/tests/msgmerge-1 | 8 ++++++++ gettext-tools/tests/msgmerge-10 | 8 ++++++++ gettext-tools/tests/msgmerge-11 | 8 ++++++++ gettext-tools/tests/msgmerge-12 | 8 ++++++++ gettext-tools/tests/msgmerge-13 | 8 ++++++++ gettext-tools/tests/msgmerge-14 | 8 ++++++++ gettext-tools/tests/msgmerge-15 | 8 ++++++++ gettext-tools/tests/msgmerge-16 | 8 ++++++++ gettext-tools/tests/msgmerge-17 | 8 ++++++++ gettext-tools/tests/msgmerge-18 | 8 ++++++++ gettext-tools/tests/msgmerge-19 | 8 ++++++++ gettext-tools/tests/msgmerge-2 | 8 ++++++++ gettext-tools/tests/msgmerge-20 | 8 ++++++++ gettext-tools/tests/msgmerge-21 | 8 ++++++++ gettext-tools/tests/msgmerge-22 | 8 ++++++++ gettext-tools/tests/msgmerge-23 | 8 ++++++++ gettext-tools/tests/msgmerge-24 | 8 ++++++++ gettext-tools/tests/msgmerge-25 | 8 ++++++++ gettext-tools/tests/msgmerge-26 | 8 ++++++++ gettext-tools/tests/msgmerge-27 | 8 ++++++++ gettext-tools/tests/msgmerge-28 | 8 ++++++++ gettext-tools/tests/msgmerge-3 | 8 ++++++++ gettext-tools/tests/msgmerge-4 | 8 ++++++++ gettext-tools/tests/msgmerge-5 | 8 ++++++++ gettext-tools/tests/msgmerge-6 | 8 ++++++++ gettext-tools/tests/msgmerge-7 | 8 ++++++++ gettext-tools/tests/msgmerge-8 | 8 ++++++++ gettext-tools/tests/msgmerge-9 | 8 ++++++++ gettext-tools/tests/msgmerge-compendium-1 | 8 ++++++++ gettext-tools/tests/msgmerge-compendium-2 | 8 ++++++++ gettext-tools/tests/msgmerge-compendium-3 | 8 ++++++++ gettext-tools/tests/msgmerge-compendium-4 | 8 ++++++++ gettext-tools/tests/msgmerge-compendium-6 | 8 ++++++++ gettext-tools/tests/msgmerge-properties-1 | 8 ++++++++ gettext-tools/tests/msgmerge-properties-2 | 8 ++++++++ gettext-tools/tests/msgmerge-update-1 | 8 ++++++++ gettext-tools/tests/msgmerge-update-2 | 8 ++++++++ gettext-tools/tests/msgmerge-update-3 | 8 ++++++++ gettext-tools/tests/msgmerge-update-4 | 8 ++++++++ gettext-tools/tests/msgunfmt-1 | 8 ++++++++ gettext-tools/tests/msgunfmt-2 | 8 ++++++++ gettext-tools/tests/msgunfmt-csharp-1 | 8 ++++++++ gettext-tools/tests/msgunfmt-java-1 | 8 ++++++++ gettext-tools/tests/msgunfmt-properties-1 | 8 ++++++++ gettext-tools/tests/msgunfmt-tcl-1 | 8 ++++++++ gettext-tools/tests/msguniq-2 | 8 ++++++++ gettext-tools/tests/msguniq-3 | 8 ++++++++ gettext-tools/tests/msguniq-5 | 8 ++++++++ gettext-tools/tests/msguniq-6 | 8 ++++++++ gettext-tools/tests/msguniq-7 | 8 ++++++++ gettext-tools/tests/msguniq-a.in | 8 ++++++++ gettext-tools/tests/msguniq-a.inp | 8 ++++++++ gettext-tools/tests/msguniq-a.out | 8 ++++++++ gettext-tools/tests/plural-1 | 8 ++++++++ gettext-tools/tests/plural-2 | 8 ++++++++ gettext-tools/tests/qttest2_de.po | 8 ++++++++ gettext-tools/tests/qttest2_de.ts | 8 ++++++++ gettext-tools/tests/qttest_pl.po | 8 ++++++++ gettext-tools/tests/recode-sr-latin-1 | 8 ++++++++ gettext-tools/tests/recode-sr-latin-2 | 8 ++++++++ gettext-tools/tests/sentence-1 | 8 ++++++++ gettext-tools/tests/xgettext-1 | 8 ++++++++ gettext-tools/tests/xgettext-10 | 8 ++++++++ gettext-tools/tests/xgettext-11 | 8 ++++++++ gettext-tools/tests/xgettext-12 | 8 ++++++++ gettext-tools/tests/xgettext-13 | 8 ++++++++ gettext-tools/tests/xgettext-14 | 8 ++++++++ gettext-tools/tests/xgettext-15 | 8 ++++++++ gettext-tools/tests/xgettext-2 | 8 ++++++++ gettext-tools/tests/xgettext-3 | 8 ++++++++ gettext-tools/tests/xgettext-4 | 8 ++++++++ gettext-tools/tests/xgettext-5 | 8 ++++++++ gettext-tools/tests/xgettext-6 | 8 ++++++++ gettext-tools/tests/xgettext-7 | 8 ++++++++ gettext-tools/tests/xgettext-8 | 8 ++++++++ gettext-tools/tests/xgettext-9 | 8 ++++++++ gettext-tools/tests/xgettext-appdata-1 | 8 ++++++++ gettext-tools/tests/xgettext-awk-1 | 8 ++++++++ gettext-tools/tests/xgettext-awk-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-3 | 8 ++++++++ gettext-tools/tests/xgettext-c-4 | 8 ++++++++ gettext-tools/tests/xgettext-c-5 | 8 ++++++++ gettext-tools/tests/xgettext-c-6 | 8 ++++++++ gettext-tools/tests/xgettext-c-c++-1 | 8 ++++++++ gettext-tools/tests/xgettext-c-c++-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-1 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-3 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-4 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-5 | 8 ++++++++ gettext-tools/tests/xgettext-c-comment-6 | 8 ++++++++ gettext-tools/tests/xgettext-c-ctxt-1 | 8 ++++++++ gettext-tools/tests/xgettext-c-ctxt-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-ctxt-3 | 8 ++++++++ gettext-tools/tests/xgettext-c-escape-1 | 8 ++++++++ gettext-tools/tests/xgettext-c-escape-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-escape-3 | 8 ++++++++ gettext-tools/tests/xgettext-c-format-1 | 8 ++++++++ gettext-tools/tests/xgettext-c-format-2 | 8 ++++++++ gettext-tools/tests/xgettext-c-format-3 | 8 ++++++++ gettext-tools/tests/xgettext-c-format-4 | 8 ++++++++ gettext-tools/tests/xgettext-c-format-5 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-1 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-2 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-3 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-4 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-5 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-6 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-7 | 8 ++++++++ gettext-tools/tests/xgettext-csharp-8 | 8 ++++++++ gettext-tools/tests/xgettext-desktop-1 | 8 ++++++++ gettext-tools/tests/xgettext-desktop-2 | 8 ++++++++ gettext-tools/tests/xgettext-elisp-1 | 8 ++++++++ gettext-tools/tests/xgettext-elisp-2 | 8 ++++++++ gettext-tools/tests/xgettext-glade-1 | 8 ++++++++ gettext-tools/tests/xgettext-glade-2 | 8 ++++++++ gettext-tools/tests/xgettext-glade-3 | 8 ++++++++ gettext-tools/tests/xgettext-glade-4 | 8 ++++++++ gettext-tools/tests/xgettext-glade-5 | 8 ++++++++ gettext-tools/tests/xgettext-glade-6 | 8 ++++++++ gettext-tools/tests/xgettext-glade-7 | 8 ++++++++ gettext-tools/tests/xgettext-gsettings-1 | 8 ++++++++ gettext-tools/tests/xgettext-its-1 | 8 ++++++++ gettext-tools/tests/xgettext-its-2 | 8 ++++++++ gettext-tools/tests/xgettext-java-1 | 8 ++++++++ gettext-tools/tests/xgettext-java-2 | 8 ++++++++ gettext-tools/tests/xgettext-java-3 | 8 ++++++++ gettext-tools/tests/xgettext-java-4 | 8 ++++++++ gettext-tools/tests/xgettext-java-5 | 8 ++++++++ gettext-tools/tests/xgettext-java-6 | 8 ++++++++ gettext-tools/tests/xgettext-java-7 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-1 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-2 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-3 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-4 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-5 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-6 | 8 ++++++++ gettext-tools/tests/xgettext-javascript-7 | 8 ++++++++ gettext-tools/tests/xgettext-librep-1 | 8 ++++++++ gettext-tools/tests/xgettext-librep-2 | 8 ++++++++ gettext-tools/tests/xgettext-lisp-1 | 8 ++++++++ gettext-tools/tests/xgettext-lisp-2 | 8 ++++++++ gettext-tools/tests/xgettext-lua-1 | 8 ++++++++ gettext-tools/tests/xgettext-lua-2 | 8 ++++++++ gettext-tools/tests/xgettext-objc-1 | 8 ++++++++ gettext-tools/tests/xgettext-objc-2 | 8 ++++++++ gettext-tools/tests/xgettext-perl-1 | 8 ++++++++ gettext-tools/tests/xgettext-perl-2 | 8 ++++++++ gettext-tools/tests/xgettext-perl-3 | 8 ++++++++ gettext-tools/tests/xgettext-perl-4 | 8 ++++++++ gettext-tools/tests/xgettext-perl-5 | 8 ++++++++ gettext-tools/tests/xgettext-perl-6 | 8 ++++++++ gettext-tools/tests/xgettext-perl-7 | 8 ++++++++ gettext-tools/tests/xgettext-perl-8 | 8 ++++++++ gettext-tools/tests/xgettext-php-1 | 8 ++++++++ gettext-tools/tests/xgettext-php-2 | 8 ++++++++ gettext-tools/tests/xgettext-php-3 | 8 ++++++++ gettext-tools/tests/xgettext-php-4 | 8 ++++++++ gettext-tools/tests/xgettext-po-1 | 8 ++++++++ gettext-tools/tests/xgettext-po-2 | 8 ++++++++ gettext-tools/tests/xgettext-properties-1 | 8 ++++++++ gettext-tools/tests/xgettext-properties-2 | 8 ++++++++ gettext-tools/tests/xgettext-properties-3 | 8 ++++++++ gettext-tools/tests/xgettext-properties-4 | 8 ++++++++ gettext-tools/tests/xgettext-python-1 | 8 ++++++++ gettext-tools/tests/xgettext-python-2 | 8 ++++++++ gettext-tools/tests/xgettext-python-3 | 8 ++++++++ gettext-tools/tests/xgettext-python-4 | 8 ++++++++ gettext-tools/tests/xgettext-rst-1 | 8 ++++++++ gettext-tools/tests/xgettext-rst-2 | 8 ++++++++ gettext-tools/tests/xgettext-scheme-1 | 8 ++++++++ gettext-tools/tests/xgettext-scheme-2 | 8 ++++++++ gettext-tools/tests/xgettext-scheme-3 | 8 ++++++++ gettext-tools/tests/xgettext-scheme-4 | 8 ++++++++ gettext-tools/tests/xgettext-sh-1 | 8 ++++++++ gettext-tools/tests/xgettext-sh-2 | 8 ++++++++ gettext-tools/tests/xgettext-sh-3 | 8 ++++++++ gettext-tools/tests/xgettext-sh-4 | 8 ++++++++ gettext-tools/tests/xgettext-sh-5 | 8 ++++++++ gettext-tools/tests/xgettext-sh-6 | 8 ++++++++ gettext-tools/tests/xgettext-sh-7 | 8 ++++++++ gettext-tools/tests/xgettext-smalltalk-1 | 8 ++++++++ gettext-tools/tests/xgettext-smalltalk-2 | 8 ++++++++ gettext-tools/tests/xgettext-stringtable-1 | 8 ++++++++ gettext-tools/tests/xgettext-tcl-1 | 8 ++++++++ gettext-tools/tests/xgettext-tcl-2 | 8 ++++++++ gettext-tools/tests/xgettext-tcl-3 | 8 ++++++++ gettext-tools/tests/xgettext-tcl-4 | 8 ++++++++ gettext-tools/tests/xgettext-vala-1 | 8 ++++++++ gettext-tools/tests/xgettext-vala-2 | 8 ++++++++ gettext-tools/tests/xgettext-ycp-1 | 8 ++++++++ gettext-tools/tests/xgettext-ycp-2 | 8 ++++++++ gettext-tools/tests/xgettext-ycp-3 | 8 ++++++++ gettext-tools/tests/xgettext-ycp-4 | 8 ++++++++ .../gnulib-local/tests/test-term-ostream-xterm.sh | 7 +++++++ 449 files changed, 3583 insertions(+), 9 deletions(-) diff --git a/check-copyright-headers b/check-copyright-headers index a87afc597..9c3dcbda8 100755 --- a/check-copyright-headers +++ b/check-copyright-headers @@ -90,15 +90,6 @@ func_check_file () { case "/$1" in =20 - */tests/* | *-tests/* ) - # A test file. - # We are not interested in suing infringers of test code. - # In fact, anyone can apply our test suites to even prorietary sof= tware. - # And this is even welcome (regarding the competing implementation= s of - # the libintl functions), because it helps in portability of softw= are - # that uses the libintl API. - return 0 ;; - */modules/* ) # Gnulib modules are not valuable enough to warrant suing infringe= rs. # Also, they often don't have much programmer expression. diff --git a/gettext-tools/tests/ChangeLog.0 b/gettext-tools/tests/Change= Log.0 index 9c9f13918..4cc239f34 100644 --- a/gettext-tools/tests/ChangeLog.0 +++ b/gettext-tools/tests/ChangeLog.0 @@ -1,4 +1,12 @@ 2001-11-10 Karl Eichwalder + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + 2003-01-12 Bruno Haible =20 * msgcat-8: New file. diff --git a/gettext-tools/tests/ChangeLog.1 b/gettext-tools/tests/Change= Log.1 index 1df1b73a6..f35ee5c2b 100644 --- a/gettext-tools/tests/ChangeLog.1 +++ b/gettext-tools/tests/ChangeLog.1 @@ -1,5 +1,13 @@ 2015-09-11 Daiki Ueno =20 +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + + * gettext 0.19.6 released. =20 2015-06-11 Philip Withnall diff --git a/gettext-tools/tests/autopoint-1 b/gettext-tools/tests/autopo= int-1 index 499c1f7ce..ec97c75fe 100755 --- a/gettext-tools/tests/autopoint-1 +++ b/gettext-tools/tests/autopoint-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test for sanity checks. diff --git a/gettext-tools/tests/autopoint-2 b/gettext-tools/tests/autopo= int-2 index 8f2aaf305..5b73553ad 100755 --- a/gettext-tools/tests/autopoint-2 +++ b/gettext-tools/tests/autopoint-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test the autopoint program, without Automake. diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopo= int-3 index e13552b44..99d042a0d 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test the autopoint program, with Automake. diff --git a/gettext-tools/tests/cldr-plurals-1 b/gettext-tools/tests/cld= r-plurals-1 index 3c6dad0df..3c889d491 100755 --- a/gettext-tools/tests/cldr-plurals-1 +++ b/gettext-tools/tests/cldr-plurals-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 : ${DIFF=3Ddiff} diff --git a/gettext-tools/tests/format-awk-1 b/gettext-tools/tests/forma= t-awk-1 index ce423cb07..bd63faccc 100755 --- a/gettext-tools/tests/format-awk-1 +++ b/gettext-tools/tests/format-awk-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of awk format strings. diff --git a/gettext-tools/tests/format-awk-2 b/gettext-tools/tests/forma= t-awk-2 index 6a458bb32..4f82475cd 100755 --- a/gettext-tools/tests/format-awk-2 +++ b/gettext-tools/tests/format-awk-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of awk format strings. diff --git a/gettext-tools/tests/format-boost-1 b/gettext-tools/tests/for= mat-boost-1 index 717a79621..ed1822d07 100755 --- a/gettext-tools/tests/format-boost-1 +++ b/gettext-tools/tests/format-boost-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Boost format strings. diff --git a/gettext-tools/tests/format-boost-2 b/gettext-tools/tests/for= mat-boost-2 index c97a4b1b1..4d032fc9f 100755 --- a/gettext-tools/tests/format-boost-2 +++ b/gettext-tools/tests/format-boost-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Boost format strings. diff --git a/gettext-tools/tests/format-c-1 b/gettext-tools/tests/format-= c-1 index 83ba0ca74..6c9c8560d 100755 --- a/gettext-tools/tests/format-c-1 +++ b/gettext-tools/tests/format-c-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of C format strings. diff --git a/gettext-tools/tests/format-c-2 b/gettext-tools/tests/format-= c-2 index 4883a27ef..13881e674 100755 --- a/gettext-tools/tests/format-c-2 +++ b/gettext-tools/tests/format-c-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of C format strings. diff --git a/gettext-tools/tests/format-c-3 b/gettext-tools/tests/format-= c-3 index 3fb9c3703..9473d95bf 100755 --- a/gettext-tools/tests/format-c-3 +++ b/gettext-tools/tests/format-c-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ISO C 99 format string directives. diff --git a/gettext-tools/tests/format-c-4 b/gettext-tools/tests/format-= c-4 index accd1173c..d3d741646 100755 --- a/gettext-tools/tests/format-c-4 +++ b/gettext-tools/tests/format-c-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ISO C 99 format string directives with plural forms. diff --git a/gettext-tools/tests/format-c-5 b/gettext-tools/tests/format-= c-5 index b8111eed3..7cebe6a7f 100755 --- a/gettext-tools/tests/format-c-5 +++ b/gettext-tools/tests/format-c-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test 'I' format directive flag. diff --git a/gettext-tools/tests/format-csharp-1 b/gettext-tools/tests/fo= rmat-csharp-1 index 0bd4a2387..daaaa234e 100755 --- a/gettext-tools/tests/format-csharp-1 +++ b/gettext-tools/tests/format-csharp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of C# format strings. diff --git a/gettext-tools/tests/format-csharp-2 b/gettext-tools/tests/fo= rmat-csharp-2 index 6b63dc860..88935a92b 100755 --- a/gettext-tools/tests/format-csharp-2 +++ b/gettext-tools/tests/format-csharp-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Java format strings. diff --git a/gettext-tools/tests/format-elisp-1 b/gettext-tools/tests/for= mat-elisp-1 index f95dda03d..65a312893 100755 --- a/gettext-tools/tests/format-elisp-1 +++ b/gettext-tools/tests/format-elisp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Emacs Lisp format strings. diff --git a/gettext-tools/tests/format-elisp-2 b/gettext-tools/tests/for= mat-elisp-2 index de0d11846..19c667f85 100755 --- a/gettext-tools/tests/format-elisp-2 +++ b/gettext-tools/tests/format-elisp-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Emacs Lisp format strings. diff --git a/gettext-tools/tests/format-gcc-internal-1 b/gettext-tools/te= sts/format-gcc-internal-1 index b0f3dd8a8..74e2c5140 100755 --- a/gettext-tools/tests/format-gcc-internal-1 +++ b/gettext-tools/tests/format-gcc-internal-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of GCC internal format strings. diff --git a/gettext-tools/tests/format-gcc-internal-2 b/gettext-tools/te= sts/format-gcc-internal-2 index c0b604554..2b980a30b 100755 --- a/gettext-tools/tests/format-gcc-internal-2 +++ b/gettext-tools/tests/format-gcc-internal-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of GCC internal format strings. diff --git a/gettext-tools/tests/format-gfc-internal-1 b/gettext-tools/te= sts/format-gfc-internal-1 index da26e76a9..8f07b177b 100755 --- a/gettext-tools/tests/format-gfc-internal-1 +++ b/gettext-tools/tests/format-gfc-internal-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of GFC internal format strings. diff --git a/gettext-tools/tests/format-gfc-internal-2 b/gettext-tools/te= sts/format-gfc-internal-2 index 2c417b404..1a651c0f1 100755 --- a/gettext-tools/tests/format-gfc-internal-2 +++ b/gettext-tools/tests/format-gfc-internal-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of GFC internal format strings. diff --git a/gettext-tools/tests/format-java-1 b/gettext-tools/tests/form= at-java-1 index 465e93b21..a017c78ff 100755 --- a/gettext-tools/tests/format-java-1 +++ b/gettext-tools/tests/format-java-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Java format strings. diff --git a/gettext-tools/tests/format-java-2 b/gettext-tools/tests/form= at-java-2 index dfef92eef..05e6486cb 100755 --- a/gettext-tools/tests/format-java-2 +++ b/gettext-tools/tests/format-java-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Java format strings. diff --git a/gettext-tools/tests/format-java-printf-1 b/gettext-tools/tes= ts/format-java-printf-1 index 37d4d0d16..36a2f135b 100755 --- a/gettext-tools/tests/format-java-printf-1 +++ b/gettext-tools/tests/format-java-printf-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Java printf format strings. diff --git a/gettext-tools/tests/format-java-printf-2 b/gettext-tools/tes= ts/format-java-printf-2 index ad0b168b2..b0579ce2c 100755 --- a/gettext-tools/tests/format-java-printf-2 +++ b/gettext-tools/tests/format-java-printf-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Java printf format strings. diff --git a/gettext-tools/tests/format-javascript-1 b/gettext-tools/test= s/format-javascript-1 index c0a4aa3c4..904db7233 100755 --- a/gettext-tools/tests/format-javascript-1 +++ b/gettext-tools/tests/format-javascript-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of JavaScript format strings. diff --git a/gettext-tools/tests/format-javascript-2 b/gettext-tools/test= s/format-javascript-2 index 62113cac2..53ad6f6e4 100755 --- a/gettext-tools/tests/format-javascript-2 +++ b/gettext-tools/tests/format-javascript-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of JavaScript format strings. diff --git a/gettext-tools/tests/format-kde-1 b/gettext-tools/tests/forma= t-kde-1 index 640fbcae2..2b7beaaef 100755 --- a/gettext-tools/tests/format-kde-1 +++ b/gettext-tools/tests/format-kde-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of KDE format strings. diff --git a/gettext-tools/tests/format-kde-2 b/gettext-tools/tests/forma= t-kde-2 index 8f9ddab93..5cbe5dd1f 100755 --- a/gettext-tools/tests/format-kde-2 +++ b/gettext-tools/tests/format-kde-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of KDE format strings. diff --git a/gettext-tools/tests/format-kde-kuit-1 b/gettext-tools/tests/= format-kde-kuit-1 index 23edc9c25..2c0d296d2 100755 --- a/gettext-tools/tests/format-kde-kuit-1 +++ b/gettext-tools/tests/format-kde-kuit-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of KUIT format strings. diff --git a/gettext-tools/tests/format-kde-kuit-2 b/gettext-tools/tests/= format-kde-kuit-2 index f4e556461..d1ba230ac 100755 --- a/gettext-tools/tests/format-kde-kuit-2 +++ b/gettext-tools/tests/format-kde-kuit-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of KDE KUIT format strings. diff --git a/gettext-tools/tests/format-librep-1 b/gettext-tools/tests/fo= rmat-librep-1 index cffaa89b7..d3d18f4ad 100755 --- a/gettext-tools/tests/format-librep-1 +++ b/gettext-tools/tests/format-librep-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of librep format strings. diff --git a/gettext-tools/tests/format-librep-2 b/gettext-tools/tests/fo= rmat-librep-2 index bb3c44e9c..8807963f4 100755 --- a/gettext-tools/tests/format-librep-2 +++ b/gettext-tools/tests/format-librep-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of librep format strings. diff --git a/gettext-tools/tests/format-lisp-1 b/gettext-tools/tests/form= at-lisp-1 index 278137669..538b54266 100755 --- a/gettext-tools/tests/format-lisp-1 +++ b/gettext-tools/tests/format-lisp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Lisp format strings. diff --git a/gettext-tools/tests/format-lisp-2 b/gettext-tools/tests/form= at-lisp-2 index a3958e989..79ce84f2c 100755 --- a/gettext-tools/tests/format-lisp-2 +++ b/gettext-tools/tests/format-lisp-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Lisp format strings. diff --git a/gettext-tools/tests/format-lua-1 b/gettext-tools/tests/forma= t-lua-1 index 502342c70..afdf40919 100755 --- a/gettext-tools/tests/format-lua-1 +++ b/gettext-tools/tests/format-lua-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Lua format strings. diff --git a/gettext-tools/tests/format-lua-2 b/gettext-tools/tests/forma= t-lua-2 index 8b7308e3d..69e8a5be0 100755 --- a/gettext-tools/tests/format-lua-2 +++ b/gettext-tools/tests/format-lua-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Python format strings. diff --git a/gettext-tools/tests/format-pascal-1 b/gettext-tools/tests/fo= rmat-pascal-1 index c0694c087..901544e47 100755 --- a/gettext-tools/tests/format-pascal-1 +++ b/gettext-tools/tests/format-pascal-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Object Pascal format strings. diff --git a/gettext-tools/tests/format-pascal-2 b/gettext-tools/tests/fo= rmat-pascal-2 index 67d02f533..2b6061015 100755 --- a/gettext-tools/tests/format-pascal-2 +++ b/gettext-tools/tests/format-pascal-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Object Pascal format strings. diff --git a/gettext-tools/tests/format-perl-1 b/gettext-tools/tests/form= at-perl-1 index 090795a75..1e68a5b0a 100755 --- a/gettext-tools/tests/format-perl-1 +++ b/gettext-tools/tests/format-perl-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Perl format strings. diff --git a/gettext-tools/tests/format-perl-2 b/gettext-tools/tests/form= at-perl-2 index 4a5faa4f2..1b9176ac8 100755 --- a/gettext-tools/tests/format-perl-2 +++ b/gettext-tools/tests/format-perl-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Perl format strings. diff --git a/gettext-tools/tests/format-perl-brace-1 b/gettext-tools/test= s/format-perl-brace-1 index 413b814e5..bd3966791 100755 --- a/gettext-tools/tests/format-perl-brace-1 +++ b/gettext-tools/tests/format-perl-brace-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Perl brace format strings. diff --git a/gettext-tools/tests/format-perl-brace-2 b/gettext-tools/test= s/format-perl-brace-2 index a1c207d5c..8f0ddc104 100755 --- a/gettext-tools/tests/format-perl-brace-2 +++ b/gettext-tools/tests/format-perl-brace-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Perl brace format strings. diff --git a/gettext-tools/tests/format-perl-mixed-1 b/gettext-tools/test= s/format-perl-mixed-1 index 119fcfd24..c0a88d689 100755 --- a/gettext-tools/tests/format-perl-mixed-1 +++ b/gettext-tools/tests/format-perl-mixed-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Perl format strings of both kinds (printf and brac= e). diff --git a/gettext-tools/tests/format-perl-mixed-2 b/gettext-tools/test= s/format-perl-mixed-2 index 738eb1e25..edf8bda53 100755 --- a/gettext-tools/tests/format-perl-mixed-2 +++ b/gettext-tools/tests/format-perl-mixed-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Perl format strings. diff --git a/gettext-tools/tests/format-php-1 b/gettext-tools/tests/forma= t-php-1 index 79583d28e..acf3492ef 100755 --- a/gettext-tools/tests/format-php-1 +++ b/gettext-tools/tests/format-php-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of PHP format strings. diff --git a/gettext-tools/tests/format-php-2 b/gettext-tools/tests/forma= t-php-2 index dc6fbc231..2d8b0e1bf 100755 --- a/gettext-tools/tests/format-php-2 +++ b/gettext-tools/tests/format-php-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of PHP format strings. diff --git a/gettext-tools/tests/format-python-1 b/gettext-tools/tests/fo= rmat-python-1 index 1bbc9824a..e79335019 100755 --- a/gettext-tools/tests/format-python-1 +++ b/gettext-tools/tests/format-python-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Python format strings. diff --git a/gettext-tools/tests/format-python-2 b/gettext-tools/tests/fo= rmat-python-2 index 455aba1c0..2fc2a229e 100755 --- a/gettext-tools/tests/format-python-2 +++ b/gettext-tools/tests/format-python-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Python format strings. diff --git a/gettext-tools/tests/format-python-brace-1 b/gettext-tools/te= sts/format-python-brace-1 index 593e3a652..7ccad73ba 100755 --- a/gettext-tools/tests/format-python-brace-1 +++ b/gettext-tools/tests/format-python-brace-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Python brace format strings. diff --git a/gettext-tools/tests/format-python-brace-2 b/gettext-tools/te= sts/format-python-brace-2 index 376ad266e..da910b6ab 100755 --- a/gettext-tools/tests/format-python-brace-2 +++ b/gettext-tools/tests/format-python-brace-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Python brace format strings. diff --git a/gettext-tools/tests/format-qt-1 b/gettext-tools/tests/format= -qt-1 index 74e27ef82..43e0856da 100755 --- a/gettext-tools/tests/format-qt-1 +++ b/gettext-tools/tests/format-qt-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Qt format strings. diff --git a/gettext-tools/tests/format-qt-2 b/gettext-tools/tests/format= -qt-2 index 602c37771..14926a5fa 100755 --- a/gettext-tools/tests/format-qt-2 +++ b/gettext-tools/tests/format-qt-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Qt format strings. diff --git a/gettext-tools/tests/format-qt-plural-1 b/gettext-tools/tests= /format-qt-plural-1 index 7b44251f7..0be3bcdc4 100755 --- a/gettext-tools/tests/format-qt-plural-1 +++ b/gettext-tools/tests/format-qt-plural-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Qt plural format strings. diff --git a/gettext-tools/tests/format-qt-plural-2 b/gettext-tools/tests= /format-qt-plural-2 index 8cb6e6a80..baa5ff4d9 100755 --- a/gettext-tools/tests/format-qt-plural-2 +++ b/gettext-tools/tests/format-qt-plural-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Qt plural format strings. diff --git a/gettext-tools/tests/format-scheme-1 b/gettext-tools/tests/fo= rmat-scheme-1 index 8450d0225..9fe0638d0 100755 --- a/gettext-tools/tests/format-scheme-1 +++ b/gettext-tools/tests/format-scheme-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Scheme format strings. diff --git a/gettext-tools/tests/format-scheme-2 b/gettext-tools/tests/fo= rmat-scheme-2 index 417a38271..2d8bab1d2 100755 --- a/gettext-tools/tests/format-scheme-2 +++ b/gettext-tools/tests/format-scheme-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Lisp format strings. diff --git a/gettext-tools/tests/format-sh-1 b/gettext-tools/tests/format= -sh-1 index 28c7623ad..101db849c 100755 --- a/gettext-tools/tests/format-sh-1 +++ b/gettext-tools/tests/format-sh-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Shell format strings. diff --git a/gettext-tools/tests/format-sh-2 b/gettext-tools/tests/format= -sh-2 index 5a192146e..ca4acaf0f 100755 --- a/gettext-tools/tests/format-sh-2 +++ b/gettext-tools/tests/format-sh-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Shell format strings. diff --git a/gettext-tools/tests/format-tcl-1 b/gettext-tools/tests/forma= t-tcl-1 index 984f0c724..f37a27064 100755 --- a/gettext-tools/tests/format-tcl-1 +++ b/gettext-tools/tests/format-tcl-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of Tcl format strings. diff --git a/gettext-tools/tests/format-tcl-2 b/gettext-tools/tests/forma= t-tcl-2 index 7a9b9f9e7..ce0bcf954 100755 --- a/gettext-tools/tests/format-tcl-2 +++ b/gettext-tools/tests/format-tcl-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of Tcl format strings. diff --git a/gettext-tools/tests/format-ycp-1 b/gettext-tools/tests/forma= t-ycp-1 index bf7b3a993..7a2aaa302 100755 --- a/gettext-tools/tests/format-ycp-1 +++ b/gettext-tools/tests/format-ycp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of YCP format strings. diff --git a/gettext-tools/tests/format-ycp-2 b/gettext-tools/tests/forma= t-ycp-2 index b9bc466ae..cfc57effb 100755 --- a/gettext-tools/tests/format-ycp-2 +++ b/gettext-tools/tests/format-ycp-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test checking of YCP format strings. diff --git a/gettext-tools/tests/gettext-1 b/gettext-tools/tests/gettext-= 1 index 87b609bd9..4a3aaf20c 100755 --- a/gettext-tools/tests/gettext-1 +++ b/gettext-tools/tests/gettext-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test the gettext program with -e option. diff --git a/gettext-tools/tests/gettext-2 b/gettext-tools/tests/gettext-= 2 index 46d6a9951..167a028d0 100755 --- a/gettext-tools/tests/gettext-2 +++ b/gettext-tools/tests/gettext-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test the gettext program without -e option. diff --git a/gettext-tools/tests/gettextpo-1.de.po b/gettext-tools/tests/= gettextpo-1.de.po index f7451a90d..750727bf5 100644 --- a/gettext-tools/tests/gettextpo-1.de.po +++ b/gettext-tools/tests/gettextpo-1.de.po @@ -1,4 +1,12 @@ # Test case for the libgettextpo library. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + msgid "" msgstr "" "Project-Id-Version: libgettextpo 0.18.1\n" diff --git a/gettext-tools/tests/init-env.in b/gettext-tools/tests/init-e= nv.in index cc84ffd39..888d368ea 100644 --- a/gettext-tools/tests/init-env.in +++ b/gettext-tools/tests/init-env.in @@ -1,4 +1,12 @@ # Variable needed by LTLIBINTL. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + top_builddir=3D../.. =20 OBJEXT=3D"@OBJEXT@" diff --git a/gettext-tools/tests/init.cfg b/gettext-tools/tests/init.cfg index 813fb0c0e..31e69ee41 100644 --- a/gettext-tools/tests/init.cfg +++ b/gettext-tools/tests/init.cfg @@ -1,5 +1,13 @@ # This file extends the init.sh (provided by gnulib). =20 +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + + # Set environment variables for the tests. . ../tests/init-env =20 diff --git a/gettext-tools/tests/intl-1 b/gettext-tools/tests/intl-1 index cf0f8df80..2dc6723d1 100755 --- a/gettext-tools/tests/intl-1 +++ b/gettext-tools/tests/intl-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that gettext() does basic translation lookup. diff --git a/gettext-tools/tests/intl-2 b/gettext-tools/tests/intl-2 index a2a2d8dbd..e17340d72 100755 --- a/gettext-tools/tests/intl-2 +++ b/gettext-tools/tests/intl-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that gettext() returns the message converted to the locale's enco= ding. diff --git a/gettext-tools/tests/intl-3 b/gettext-tools/tests/intl-3 index 8c12083ae..41f4fe44e 100755 --- a/gettext-tools/tests/intl-3 +++ b/gettext-tools/tests/intl-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that bind_textdomain_codeset() works. diff --git a/gettext-tools/tests/intl-4 b/gettext-tools/tests/intl-4 index 3b5fce795..7b61af30e 100755 --- a/gettext-tools/tests/intl-4 +++ b/gettext-tools/tests/intl-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that bind_textdomain_codeset() works, even when the same message diff --git a/gettext-tools/tests/intl-setlocale-1 b/gettext-tools/tests/i= ntl-setlocale-1 index 4848763da..cd2c9de88 100755 --- a/gettext-tools/tests/intl-setlocale-1 +++ b/gettext-tools/tests/intl-setlocale-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that on glibc systems, gettext() works right even with intermedia= te diff --git a/gettext-tools/tests/intl-setlocale-2 b/gettext-tools/tests/i= ntl-setlocale-2 index 87d530bb8..fa1b83840 100755 --- a/gettext-tools/tests/intl-setlocale-2 +++ b/gettext-tools/tests/intl-setlocale-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that a gettext() result comes out in the correct encoding, even w= hen the diff --git a/gettext-tools/tests/intl-thread-1 b/gettext-tools/tests/intl= -thread-1 index b702bef1a..74b291bd0 100755 --- a/gettext-tools/tests/intl-thread-1 +++ b/gettext-tools/tests/intl-thread-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that gettext() in multithreaded applications correctly uses the diff --git a/gettext-tools/tests/intl-thread-2 b/gettext-tools/tests/intl= -thread-2 index 9be950aeb..e1568b21f 100755 --- a/gettext-tools/tests/intl-thread-2 +++ b/gettext-tools/tests/intl-thread-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that gettext() in multithreaded applications works correctly if diff --git a/gettext-tools/tests/intl-thread-3 b/gettext-tools/tests/intl= -thread-3 index 6e35f3636..465014132 100755 --- a/gettext-tools/tests/intl-thread-3 +++ b/gettext-tools/tests/intl-thread-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that gettext() in multithreaded applications works correctly if diff --git a/gettext-tools/tests/lang-bash b/gettext-tools/tests/lang-bas= h index 268ec3264..15ad2afc8 100755 --- a/gettext-tools/tests/lang-bash +++ b/gettext-tools/tests/lang-bash @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src ../../gettext-runtime/= src =20 # Test of gettext facilities in the bash language. diff --git a/gettext-tools/tests/lang-c b/gettext-tools/tests/lang-c index b350899a6..c7e15b6cf 100755 --- a/gettext-tools/tests/lang-c +++ b/gettext-tools/tests/lang-c @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the C language. diff --git a/gettext-tools/tests/lang-c++ b/gettext-tools/tests/lang-c++ index d5ed00a43..c07e78e95 100755 --- a/gettext-tools/tests/lang-c++ +++ b/gettext-tools/tests/lang-c++ @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the C++ language. diff --git a/gettext-tools/tests/lang-clisp b/gettext-tools/tests/lang-cl= isp index 471c4f6c8..41936a709 100755 --- a/gettext-tools/tests/lang-clisp +++ b/gettext-tools/tests/lang-clisp @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the CLISP language. diff --git a/gettext-tools/tests/lang-csharp b/gettext-tools/tests/lang-c= sharp index 3ccdd5257..151734d36 100755 --- a/gettext-tools/tests/lang-csharp +++ b/gettext-tools/tests/lang-csharp @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the C# language. diff --git a/gettext-tools/tests/lang-elisp b/gettext-tools/tests/lang-el= isp index 3081ddc5d..1115693fb 100755 --- a/gettext-tools/tests/lang-elisp +++ b/gettext-tools/tests/lang-elisp @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Emacs Lisp language. diff --git a/gettext-tools/tests/lang-gawk b/gettext-tools/tests/lang-gaw= k index 3f0b2edda..6ebf696cd 100755 --- a/gettext-tools/tests/lang-gawk +++ b/gettext-tools/tests/lang-gawk @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the GNU awk language. diff --git a/gettext-tools/tests/lang-guile b/gettext-tools/tests/lang-gu= ile index 886e01985..3f32a75ca 100755 --- a/gettext-tools/tests/lang-guile +++ b/gettext-tools/tests/lang-guile @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the guile implementation of Scheme. diff --git a/gettext-tools/tests/lang-java b/gettext-tools/tests/lang-jav= a index 0b5c70ee7..2aaf826d8 100755 --- a/gettext-tools/tests/lang-java +++ b/gettext-tools/tests/lang-java @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Java language. diff --git a/gettext-tools/tests/lang-javascript b/gettext-tools/tests/la= ng-javascript index 5ef33bbf3..637b24d5d 100755 --- a/gettext-tools/tests/lang-javascript +++ b/gettext-tools/tests/lang-javascript @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the JavaScript language. diff --git a/gettext-tools/tests/lang-librep b/gettext-tools/tests/lang-l= ibrep index db314a908..c7df6aceb 100755 --- a/gettext-tools/tests/lang-librep +++ b/gettext-tools/tests/lang-librep @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the librep language. diff --git a/gettext-tools/tests/lang-lua b/gettext-tools/tests/lang-lua index c0e35dfb4..db680fd8c 100755 --- a/gettext-tools/tests/lang-lua +++ b/gettext-tools/tests/lang-lua @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Lua language. diff --git a/gettext-tools/tests/lang-objc b/gettext-tools/tests/lang-obj= c index bc2578cc1..73ec8b310 100755 --- a/gettext-tools/tests/lang-objc +++ b/gettext-tools/tests/lang-objc @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Objective C language. diff --git a/gettext-tools/tests/lang-pascal b/gettext-tools/tests/lang-p= ascal index 23c71ea1b..7dc4f28e8 100755 --- a/gettext-tools/tests/lang-pascal +++ b/gettext-tools/tests/lang-pascal @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Object Pascal language. diff --git a/gettext-tools/tests/lang-perl-1 b/gettext-tools/tests/lang-p= erl-1 index 40b1424be..af25e8e2c 100755 --- a/gettext-tools/tests/lang-perl-1 +++ b/gettext-tools/tests/lang-perl-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Perl language, diff --git a/gettext-tools/tests/lang-perl-2 b/gettext-tools/tests/lang-p= erl-2 index 5bc2fa842..a7720b63d 100755 --- a/gettext-tools/tests/lang-perl-2 +++ b/gettext-tools/tests/lang-perl-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Perl language, diff --git a/gettext-tools/tests/lang-php b/gettext-tools/tests/lang-php index b8238d5b9..a847ef8c4 100755 --- a/gettext-tools/tests/lang-php +++ b/gettext-tools/tests/lang-php @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the PHP language. diff --git a/gettext-tools/tests/lang-po b/gettext-tools/tests/lang-po index c8b90c368..022dab4c4 100755 --- a/gettext-tools/tests/lang-po +++ b/gettext-tools/tests/lang-po @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the PO/POT format. diff --git a/gettext-tools/tests/lang-python-1 b/gettext-tools/tests/lang= -python-1 index 4e5acd9cc..b0746f326 100755 --- a/gettext-tools/tests/lang-python-1 +++ b/gettext-tools/tests/lang-python-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Python language. diff --git a/gettext-tools/tests/lang-python-2 b/gettext-tools/tests/lang= -python-2 index c1af9275a..39adfdef1 100755 --- a/gettext-tools/tests/lang-python-2 +++ b/gettext-tools/tests/lang-python-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities (including plural handling) in the Python diff --git a/gettext-tools/tests/lang-rst b/gettext-tools/tests/lang-rst index 348aa726f..7d4087f89 100755 --- a/gettext-tools/tests/lang-rst +++ b/gettext-tools/tests/lang-rst @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the RST format. diff --git a/gettext-tools/tests/lang-sh b/gettext-tools/tests/lang-sh index afc297323..b361d73d1 100755 --- a/gettext-tools/tests/lang-sh +++ b/gettext-tools/tests/lang-sh @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src ../../gettext-runtime/= src =20 # Test of gettext facilities in the sh language. diff --git a/gettext-tools/tests/lang-smalltalk b/gettext-tools/tests/lan= g-smalltalk index 6b3584d54..eb4ccf238 100755 --- a/gettext-tools/tests/lang-smalltalk +++ b/gettext-tools/tests/lang-smalltalk @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the GNU smalltalk language. diff --git a/gettext-tools/tests/lang-tcl b/gettext-tools/tests/lang-tcl index 1d7578834..4d9eb4c14 100755 --- a/gettext-tools/tests/lang-tcl +++ b/gettext-tools/tests/lang-tcl @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Tcl language. diff --git a/gettext-tools/tests/lang-vala b/gettext-tools/tests/lang-val= a index b24de6a67..4b6cbc2ec 100755 --- a/gettext-tools/tests/lang-vala +++ b/gettext-tools/tests/lang-vala @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the Vala language. diff --git a/gettext-tools/tests/lang-ycp b/gettext-tools/tests/lang-ycp index 20ac13342..c5db16f0d 100755 --- a/gettext-tools/tests/lang-ycp +++ b/gettext-tools/tests/lang-ycp @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of gettext facilities in the YCP language. diff --git a/gettext-tools/tests/mm-ko-comp.euc-kr.po b/gettext-tools/tes= ts/mm-ko-comp.euc-kr.po index eeebe5ca6..ea8a70de0 100644 --- a/gettext-tools/tests/mm-ko-comp.euc-kr.po +++ b/gettext-tools/tests/mm-ko-comp.euc-kr.po @@ -1,4 +1,12 @@ # Translation of SuSE patches included in gnome-patch-translation. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # FIRST AUTHOR , YEAR. # #, fuzzy diff --git a/gettext-tools/tests/mm-ko.ascii.pot b/gettext-tools/tests/mm= -ko.ascii.pot index f8b4fda9a..0efd0c86d 100644 --- a/gettext-tools/tests/mm-ko.ascii.pot +++ b/gettext-tools/tests/mm-ko.ascii.pot @@ -1,4 +1,12 @@ # SOME DESCRIPTIVE TITLE. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. diff --git a/gettext-tools/tests/mm-ko.euc-kr.po b/gettext-tools/tests/mm= -ko.euc-kr.po index 1962130a0..ded879158 100644 --- a/gettext-tools/tests/mm-ko.euc-kr.po +++ b/gettext-tools/tests/mm-ko.euc-kr.po @@ -1,4 +1,12 @@ # Korean translation for dia + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 2000, 2015 Free Software Foundation, Inc. # Young-Ho,Cha , 2000. #: app/sheets.c:453 diff --git a/gettext-tools/tests/mm-viet.comp.po b/gettext-tools/tests/mm= -viet.comp.po index d38622bd2..0feb25103 100644 --- a/gettext-tools/tests/mm-viet.comp.po +++ b/gettext-tools/tests/mm-viet.comp.po @@ -1,4 +1,12 @@ # Vietnamese translation for NAME. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright =C2=A9 2006 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2006. # diff --git a/gettext-tools/tests/mm-viet.out b/gettext-tools/tests/mm-vie= t.out index 9e510dfd7..9c4710b98 100644 --- a/gettext-tools/tests/mm-viet.out +++ b/gettext-tools/tests/mm-viet.out @@ -1,4 +1,12 @@ # Vietnamese translation for NAME. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright =C2=A9 2006 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2006. # diff --git a/gettext-tools/tests/mm-viet.pot b/gettext-tools/tests/mm-vie= t.pot index d5482e8e3..834de168d 100644 --- a/gettext-tools/tests/mm-viet.pot +++ b/gettext-tools/tests/mm-viet.pot @@ -1,4 +1,12 @@ # SOME DESCRIPTIVE TITLE. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # FIRST AUTHOR , YEAR. # #, fuzzy diff --git a/gettext-tools/tests/msgattrib-1 b/gettext-tools/tests/msgatt= rib-1 index 1e483cafa..41c57ad1c 100755 --- a/gettext-tools/tests/msgattrib-1 +++ b/gettext-tools/tests/msgattrib-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --translated option. diff --git a/gettext-tools/tests/msgattrib-10 b/gettext-tools/tests/msgat= trib-10 index 8b30d2a3f..c0e8a655f 100755 --- a/gettext-tools/tests/msgattrib-10 +++ b/gettext-tools/tests/msgattrib-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --set-obsolete option. Note that the output routines drop untrans= lated diff --git a/gettext-tools/tests/msgattrib-11 b/gettext-tools/tests/msgat= trib-11 index 86fdc787b..4aa2919c9 100755 --- a/gettext-tools/tests/msgattrib-11 +++ b/gettext-tools/tests/msgattrib-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --clear-obsolete option. diff --git a/gettext-tools/tests/msgattrib-12 b/gettext-tools/tests/msgat= trib-12 index a05a8c44e..44b59c6d6 100755 --- a/gettext-tools/tests/msgattrib-12 +++ b/gettext-tools/tests/msgattrib-12 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --fuzzy option. diff --git a/gettext-tools/tests/msgattrib-13 b/gettext-tools/tests/msgat= trib-13 index ec1a71b7b..407dc8a50 100755 --- a/gettext-tools/tests/msgattrib-13 +++ b/gettext-tools/tests/msgattrib-13 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --obsolete option. diff --git a/gettext-tools/tests/msgattrib-14 b/gettext-tools/tests/msgat= trib-14 index 08069de49..b73b9cbcd 100755 --- a/gettext-tools/tests/msgattrib-14 +++ b/gettext-tools/tests/msgattrib-14 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test combination of selection and manipulation option. diff --git a/gettext-tools/tests/msgattrib-15 b/gettext-tools/tests/msgat= trib-15 index fc058b520..3dad95f5d 100755 --- a/gettext-tools/tests/msgattrib-15 +++ b/gettext-tools/tests/msgattrib-15 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgattrib on a PO file with contexts. diff --git a/gettext-tools/tests/msgattrib-16 b/gettext-tools/tests/msgat= trib-16 index b1df38d57..3f54b60e8 100755 --- a/gettext-tools/tests/msgattrib-16 +++ b/gettext-tools/tests/msgattrib-16 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgattrib on a PO file with previous msgids. diff --git a/gettext-tools/tests/msgattrib-17 b/gettext-tools/tests/msgat= trib-17 index e5ba4293c..2a60700e6 100755 --- a/gettext-tools/tests/msgattrib-17 +++ b/gettext-tools/tests/msgattrib-17 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgattrib option --clear-previous. diff --git a/gettext-tools/tests/msgattrib-18 b/gettext-tools/tests/msgat= trib-18 index 0c04f6f2e..572acc10e 100755 --- a/gettext-tools/tests/msgattrib-18 +++ b/gettext-tools/tests/msgattrib-18 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgattrib-19 b/gettext-tools/tests/msgat= trib-19 index 3519b7a39..03362151a 100755 --- a/gettext-tools/tests/msgattrib-19 +++ b/gettext-tools/tests/msgattrib-19 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --empty option. diff --git a/gettext-tools/tests/msgattrib-2 b/gettext-tools/tests/msgatt= rib-2 index c72e783fe..d72a3d865 100755 --- a/gettext-tools/tests/msgattrib-2 +++ b/gettext-tools/tests/msgattrib-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --untranslated option. diff --git a/gettext-tools/tests/msgattrib-3 b/gettext-tools/tests/msgatt= rib-3 index 9636349a5..d5efa76fb 100755 --- a/gettext-tools/tests/msgattrib-3 +++ b/gettext-tools/tests/msgattrib-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --no-fuzzy option. diff --git a/gettext-tools/tests/msgattrib-4 b/gettext-tools/tests/msgatt= rib-4 index 12707773a..1a3f56cff 100755 --- a/gettext-tools/tests/msgattrib-4 +++ b/gettext-tools/tests/msgattrib-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --only-fuzzy option. diff --git a/gettext-tools/tests/msgattrib-5 b/gettext-tools/tests/msgatt= rib-5 index 72d9de1e7..bae1bc4d8 100755 --- a/gettext-tools/tests/msgattrib-5 +++ b/gettext-tools/tests/msgattrib-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --no-obsolete option. diff --git a/gettext-tools/tests/msgattrib-6 b/gettext-tools/tests/msgatt= rib-6 index 4946045a1..2f18f7130 100755 --- a/gettext-tools/tests/msgattrib-6 +++ b/gettext-tools/tests/msgattrib-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --only-obsolete option. diff --git a/gettext-tools/tests/msgattrib-7 b/gettext-tools/tests/msgatt= rib-7 index 40db1c9e4..18c3f744d 100755 --- a/gettext-tools/tests/msgattrib-7 +++ b/gettext-tools/tests/msgattrib-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test combination of two selection options. diff --git a/gettext-tools/tests/msgattrib-8 b/gettext-tools/tests/msgatt= rib-8 index 9a7f13f39..8154c3d6b 100755 --- a/gettext-tools/tests/msgattrib-8 +++ b/gettext-tools/tests/msgattrib-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --set-fuzzy option. Note that the output routines ignore the fuzz= y diff --git a/gettext-tools/tests/msgattrib-9 b/gettext-tools/tests/msgatt= rib-9 index e1b336828..4f6713f73 100755 --- a/gettext-tools/tests/msgattrib-9 +++ b/gettext-tools/tests/msgattrib-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --clear-fuzzy option. diff --git a/gettext-tools/tests/msgattrib-properties-1 b/gettext-tools/t= ests/msgattrib-properties-1 index 2c25c1f18..f5030f401 100755 --- a/gettext-tools/tests/msgattrib-properties-1 +++ b/gettext-tools/tests/msgattrib-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --translated option with Java .properties syntax. diff --git a/gettext-tools/tests/msgcat-1 b/gettext-tools/tests/msgcat-1 index a554e8a1d..389056b2e 100755 --- a/gettext-tools/tests/msgcat-1 +++ b/gettext-tools/tests/msgcat-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that msgcat doesn't introduce alternative syntax if all transla= tions diff --git a/gettext-tools/tests/msgcat-10 b/gettext-tools/tests/msgcat-1= 0 index a84e001ec..dbf7caefe 100755 --- a/gettext-tools/tests/msgcat-10 +++ b/gettext-tools/tests/msgcat-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify msgcat of two files, when the header entries have different com= ments diff --git a/gettext-tools/tests/msgcat-11 b/gettext-tools/tests/msgcat-1= 1 index 0f6a05a2c..89851fa9b 100755 --- a/gettext-tools/tests/msgcat-11 +++ b/gettext-tools/tests/msgcat-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that msgcat leaves #: lines in place even if they have a bizarr= e diff --git a/gettext-tools/tests/msgcat-12 b/gettext-tools/tests/msgcat-1= 2 index 41182cf26..35ef3a249 100755 --- a/gettext-tools/tests/msgcat-12 +++ b/gettext-tools/tests/msgcat-12 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that msgcat complains when it would need to change msgids. diff --git a/gettext-tools/tests/msgcat-13 b/gettext-tools/tests/msgcat-1= 3 index 44d76588e..6f2e85c89 100755 --- a/gettext-tools/tests/msgcat-13 +++ b/gettext-tools/tests/msgcat-13 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcat on PO files with contexts. diff --git a/gettext-tools/tests/msgcat-14 b/gettext-tools/tests/msgcat-1= 4 index 21a544b02..67826e3ed 100755 --- a/gettext-tools/tests/msgcat-14 +++ b/gettext-tools/tests/msgcat-14 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that msgcat complains when it would need to change msgctxts. diff --git a/gettext-tools/tests/msgcat-15 b/gettext-tools/tests/msgcat-1= 5 index 7731e5ba6..4e7d1f02b 100755 --- a/gettext-tools/tests/msgcat-15 +++ b/gettext-tools/tests/msgcat-15 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcat on a PO file with previous msgids. diff --git a/gettext-tools/tests/msgcat-16 b/gettext-tools/tests/msgcat-1= 6 index 424be0164..b16e35f7b 100755 --- a/gettext-tools/tests/msgcat-16 +++ b/gettext-tools/tests/msgcat-16 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcat on a PO files with previous msgids. diff --git a/gettext-tools/tests/msgcat-17 b/gettext-tools/tests/msgcat-1= 7 index 8fecc4039..9566df0ad 100755 --- a/gettext-tools/tests/msgcat-17 +++ b/gettext-tools/tests/msgcat-17 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcat with --width option. Check that format strings are not bro= ken. diff --git a/gettext-tools/tests/msgcat-18 b/gettext-tools/tests/msgcat-1= 8 index 03170f6bf..2c253fc25 100755 --- a/gettext-tools/tests/msgcat-18 +++ b/gettext-tools/tests/msgcat-18 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcat: handling of 'range:' flags. diff --git a/gettext-tools/tests/msgcat-19 b/gettext-tools/tests/msgcat-1= 9 index 7068a8332..c49fba042 100755 --- a/gettext-tools/tests/msgcat-19 +++ b/gettext-tools/tests/msgcat-19 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgcat-2 b/gettext-tools/tests/msgcat-2 index f4caa6183..1f300c722 100755 --- a/gettext-tools/tests/msgcat-2 +++ b/gettext-tools/tests/msgcat-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different charsets. diff --git a/gettext-tools/tests/msgcat-20 b/gettext-tools/tests/msgcat-2= 0 index 8685f6580..557a9e036 100755 --- a/gettext-tools/tests/msgcat-20 +++ b/gettext-tools/tests/msgcat-20 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify --sort-by-file. diff --git a/gettext-tools/tests/msgcat-21 b/gettext-tools/tests/msgcat-2= 1 index 7b9a4373f..c9b6ecbd0 100755 --- a/gettext-tools/tests/msgcat-21 +++ b/gettext-tools/tests/msgcat-21 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that msgcat complains when the same msgid occurs with and witho= ut diff --git a/gettext-tools/tests/msgcat-3 b/gettext-tools/tests/msgcat-3 index bf757c415..758b46633 100755 --- a/gettext-tools/tests/msgcat-3 +++ b/gettext-tools/tests/msgcat-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different charsets. diff --git a/gettext-tools/tests/msgcat-4 b/gettext-tools/tests/msgcat-4 index 5e9a3bc65..01e4e369e 100755 --- a/gettext-tools/tests/msgcat-4 +++ b/gettext-tools/tests/msgcat-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different charsets: diff --git a/gettext-tools/tests/msgcat-5 b/gettext-tools/tests/msgcat-5 index ced04e266..2d29c968d 100755 --- a/gettext-tools/tests/msgcat-5 +++ b/gettext-tools/tests/msgcat-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different translations: diff --git a/gettext-tools/tests/msgcat-6 b/gettext-tools/tests/msgcat-6 index 969c88d1d..6ad2a3a1e 100755 --- a/gettext-tools/tests/msgcat-6 +++ b/gettext-tools/tests/msgcat-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different translations: diff --git a/gettext-tools/tests/msgcat-7 b/gettext-tools/tests/msgcat-7 index 93890e3fd..385a1254d 100755 --- a/gettext-tools/tests/msgcat-7 +++ b/gettext-tools/tests/msgcat-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify 'msgcat --sort-output' diff --git a/gettext-tools/tests/msgcat-8 b/gettext-tools/tests/msgcat-8 index d8f076510..2da16c2d2 100755 --- a/gettext-tools/tests/msgcat-8 +++ b/gettext-tools/tests/msgcat-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify msgcat of two files, when the header entries have different com= ments diff --git a/gettext-tools/tests/msgcat-9 b/gettext-tools/tests/msgcat-9 index 558e623b4..d50480536 100755 --- a/gettext-tools/tests/msgcat-9 +++ b/gettext-tools/tests/msgcat-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify msgcat of two files, when the header entries have the same comm= ents diff --git a/gettext-tools/tests/msgcat-properties-1 b/gettext-tools/test= s/msgcat-properties-1 index 5d2263ae8..4f4856379 100755 --- a/gettext-tools/tests/msgcat-properties-1 +++ b/gettext-tools/tests/msgcat-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --use-first option with Java .properties syntax. diff --git a/gettext-tools/tests/msgcat-properties-2 b/gettext-tools/test= s/msgcat-properties-2 index badc6f336..8d9aa42c4 100755 --- a/gettext-tools/tests/msgcat-properties-2 +++ b/gettext-tools/tests/msgcat-properties-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test conversion from UTF-8 to BIG5 is a NOP with Java .properties synt= ax. diff --git a/gettext-tools/tests/msgcat-stringtable-1 b/gettext-tools/tes= ts/msgcat-stringtable-1 index 355b836a2..afb0a5ef0 100755 --- a/gettext-tools/tests/msgcat-stringtable-1 +++ b/gettext-tools/tests/msgcat-stringtable-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test reading in NeXTstep/GNUstep .strings syntax. diff --git a/gettext-tools/tests/msgcmp-1 b/gettext-tools/tests/msgcmp-1 index 17f70aa90..e52808d1f 100755 --- a/gettext-tools/tests/msgcmp-1 +++ b/gettext-tools/tests/msgcmp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test a succeeding comparison. diff --git a/gettext-tools/tests/msgcmp-2 b/gettext-tools/tests/msgcmp-2 index a63cc6a2b..45e162717 100755 --- a/gettext-tools/tests/msgcmp-2 +++ b/gettext-tools/tests/msgcmp-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test a failing comparison. diff --git a/gettext-tools/tests/msgcmp-3 b/gettext-tools/tests/msgcmp-3 index f79fd23f1..cff82a127 100755 --- a/gettext-tools/tests/msgcmp-3 +++ b/gettext-tools/tests/msgcmp-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test a failing comparison with Java .properties syntax. diff --git a/gettext-tools/tests/msgcmp-4 b/gettext-tools/tests/msgcmp-4 index 3d6afa841..f6c34f4c0 100755 --- a/gettext-tools/tests/msgcmp-4 +++ b/gettext-tools/tests/msgcmp-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test comparison with PO files with previous msgids. diff --git a/gettext-tools/tests/msgcomm-1 b/gettext-tools/tests/msgcomm-= 1 index 67ab93688..37cef076c 100755 --- a/gettext-tools/tests/msgcomm-1 +++ b/gettext-tools/tests/msgcomm-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0 option. diff --git a/gettext-tools/tests/msgcomm-10 b/gettext-tools/tests/msgcomm= -10 index 7dca8c0e1..90a8fa79d 100755 --- a/gettext-tools/tests/msgcomm-10 +++ b/gettext-tools/tests/msgcomm-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merge of common entries with --more-than=3D1 and --omit-header. diff --git a/gettext-tools/tests/msgcomm-11 b/gettext-tools/tests/msgcomm= -11 index cecee3f3c..0a4f66eb2 100755 --- a/gettext-tools/tests/msgcomm-11 +++ b/gettext-tools/tests/msgcomm-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that --more-than=3D1 drops entries which occur only once. diff --git a/gettext-tools/tests/msgcomm-12 b/gettext-tools/tests/msgcomm= -12 index 8c7ff781f..8182e3955 100755 --- a/gettext-tools/tests/msgcomm-12 +++ b/gettext-tools/tests/msgcomm-12 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that --less-than=3D2 removes entries which occur twice and keeps = entries diff --git a/gettext-tools/tests/msgcomm-13 b/gettext-tools/tests/msgcomm= -13 index 9f21eab81..c3b46d877 100755 --- a/gettext-tools/tests/msgcomm-13 +++ b/gettext-tools/tests/msgcomm-13 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that --less-than=3D2 removes entries which occur more than twice. diff --git a/gettext-tools/tests/msgcomm-14 b/gettext-tools/tests/msgcomm= -14 index 3e0401b28..b39b0287f 100755 --- a/gettext-tools/tests/msgcomm-14 +++ b/gettext-tools/tests/msgcomm-14 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --force-po option. diff --git a/gettext-tools/tests/msgcomm-15 b/gettext-tools/tests/msgcomm= -15 index 043cf13df..4208cb5ad 100755 --- a/gettext-tools/tests/msgcomm-15 +++ b/gettext-tools/tests/msgcomm-15 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that without --force-po option, a PO file without translations is diff --git a/gettext-tools/tests/msgcomm-16 b/gettext-tools/tests/msgcomm= -16 index 6b7f6f3b3..b286f8bad 100755 --- a/gettext-tools/tests/msgcomm-16 +++ b/gettext-tools/tests/msgcomm-16 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of input files with different charsets. diff --git a/gettext-tools/tests/msgcomm-17 b/gettext-tools/tests/msgcomm= -17 index 2ec667522..499a901a1 100755 --- a/gettext-tools/tests/msgcomm-17 +++ b/gettext-tools/tests/msgcomm-17 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # -u, --unique (equivalent to --less-than=3D2): we are interested in uni= que diff --git a/gettext-tools/tests/msgcomm-18 b/gettext-tools/tests/msgcomm= -18 index 2dab53e54..aee9a224c 100755 --- a/gettext-tools/tests/msgcomm-18 +++ b/gettext-tools/tests/msgcomm-18 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0; identical message are wanted once only. diff --git a/gettext-tools/tests/msgcomm-19 b/gettext-tools/tests/msgcomm= -19 index 0b693ad80..0d2962087 100755 --- a/gettext-tools/tests/msgcomm-19 +++ b/gettext-tools/tests/msgcomm-19 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0; identical message are wanted once only. diff --git a/gettext-tools/tests/msgcomm-2 b/gettext-tools/tests/msgcomm-= 2 index f93d58de1..903a136d3 100755 --- a/gettext-tools/tests/msgcomm-2 +++ b/gettext-tools/tests/msgcomm-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --no-location option. diff --git a/gettext-tools/tests/msgcomm-20 b/gettext-tools/tests/msgcomm= -20 index 3beb31ca9..0ee404bba 100755 --- a/gettext-tools/tests/msgcomm-20 +++ b/gettext-tools/tests/msgcomm-20 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0; identical message are wanted once only. diff --git a/gettext-tools/tests/msgcomm-21 b/gettext-tools/tests/msgcomm= -21 index fa32600c0..6462b7cad 100755 --- a/gettext-tools/tests/msgcomm-21 +++ b/gettext-tools/tests/msgcomm-21 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0; identical message are wanted once only. diff --git a/gettext-tools/tests/msgcomm-22 b/gettext-tools/tests/msgcomm= -22 index 72f380769..2270c9aab 100755 --- a/gettext-tools/tests/msgcomm-22 +++ b/gettext-tools/tests/msgcomm-22 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Verify that the header entry is kept, otherwise the encoding is unknow= n. diff --git a/gettext-tools/tests/msgcomm-24 b/gettext-tools/tests/msgcomm= -24 index 2cc5f95d0..53c094150 100755 --- a/gettext-tools/tests/msgcomm-24 +++ b/gettext-tools/tests/msgcomm-24 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --more-than=3D0 option with Java .properties syntax. diff --git a/gettext-tools/tests/msgcomm-25 b/gettext-tools/tests/msgcomm= -25 index 3a04b8a15..1b6afba71 100755 --- a/gettext-tools/tests/msgcomm-25 +++ b/gettext-tools/tests/msgcomm-25 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcomm on PO files with contexts. diff --git a/gettext-tools/tests/msgcomm-26 b/gettext-tools/tests/msgcomm= -26 index 64ac62e58..c0561da58 100755 --- a/gettext-tools/tests/msgcomm-26 +++ b/gettext-tools/tests/msgcomm-26 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgcomm on PO files with previous msgids. diff --git a/gettext-tools/tests/msgcomm-27 b/gettext-tools/tests/msgcomm= -27 index fda523e0b..d9002a4e6 100755 --- a/gettext-tools/tests/msgcomm-27 +++ b/gettext-tools/tests/msgcomm-27 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of format and 'range:' flag. diff --git a/gettext-tools/tests/msgcomm-28 b/gettext-tools/tests/msgcomm= -28 index 48f776161..2b89e41f2 100755 --- a/gettext-tools/tests/msgcomm-28 +++ b/gettext-tools/tests/msgcomm-28 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgcomm-3 b/gettext-tools/tests/msgcomm-= 3 index 67baccd49..10d7a3bae 100755 --- a/gettext-tools/tests/msgcomm-3 +++ b/gettext-tools/tests/msgcomm-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --omit-header option when there is no header. diff --git a/gettext-tools/tests/msgcomm-4 b/gettext-tools/tests/msgcomm-= 4 index a292da49d..eb81d4bd0 100755 --- a/gettext-tools/tests/msgcomm-4 +++ b/gettext-tools/tests/msgcomm-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test what happens with the header entry. diff --git a/gettext-tools/tests/msgcomm-5 b/gettext-tools/tests/msgcomm-= 5 index 1eb7acd92..adea90ce9 100755 --- a/gettext-tools/tests/msgcomm-5 +++ b/gettext-tools/tests/msgcomm-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --omit-header option when there is a header. diff --git a/gettext-tools/tests/msgcomm-6 b/gettext-tools/tests/msgcomm-= 6 index 634d8dbc6..14721a6e8 100755 --- a/gettext-tools/tests/msgcomm-6 +++ b/gettext-tools/tests/msgcomm-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --no-location option when there is a header. diff --git a/gettext-tools/tests/msgcomm-7 b/gettext-tools/tests/msgcomm-= 7 index b098ec74a..f97eb376c 100755 --- a/gettext-tools/tests/msgcomm-7 +++ b/gettext-tools/tests/msgcomm-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --no-location and --omit-header options together. diff --git a/gettext-tools/tests/msgcomm-8 b/gettext-tools/tests/msgcomm-= 8 index 582deff80..f81b84a7e 100755 --- a/gettext-tools/tests/msgcomm-8 +++ b/gettext-tools/tests/msgcomm-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merge of common entries with --more-than=3D1. diff --git a/gettext-tools/tests/msgcomm-9 b/gettext-tools/tests/msgcomm-= 9 index fdb37b9a3..dedef6b51 100755 --- a/gettext-tools/tests/msgcomm-9 +++ b/gettext-tools/tests/msgcomm-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merge of common entries with --more-than=3D1 and --no-location. diff --git a/gettext-tools/tests/msgconv-1 b/gettext-tools/tests/msgconv-= 1 index 810e37d0c..147e8a053 100755 --- a/gettext-tools/tests/msgconv-1 +++ b/gettext-tools/tests/msgconv-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test conversion from BIG5 to UTF-8. diff --git a/gettext-tools/tests/msgconv-2 b/gettext-tools/tests/msgconv-= 2 index d286cdae5..9ba168dea 100755 --- a/gettext-tools/tests/msgconv-2 +++ b/gettext-tools/tests/msgconv-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test conversion from UTF-8 to BIG5. diff --git a/gettext-tools/tests/msgconv-3 b/gettext-tools/tests/msgconv-= 3 index ac44d966f..59bb1cbc5 100755 --- a/gettext-tools/tests/msgconv-3 +++ b/gettext-tools/tests/msgconv-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test failing conversion from ISO-8859-15 to ISO-8859-1. diff --git a/gettext-tools/tests/msgconv-4 b/gettext-tools/tests/msgconv-= 4 index 5cddce74f..b4dd7f057 100755 --- a/gettext-tools/tests/msgconv-4 +++ b/gettext-tools/tests/msgconv-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test conversion from UTF-8 to BIG5 is a NOP with Java .properties synt= ax. diff --git a/gettext-tools/tests/msgconv-5 b/gettext-tools/tests/msgconv-= 5 index 4d2038439..609a6a77d 100755 --- a/gettext-tools/tests/msgconv-5 +++ b/gettext-tools/tests/msgconv-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgconv on a PO file with contexts. diff --git a/gettext-tools/tests/msgconv-6 b/gettext-tools/tests/msgconv-= 6 index fbb29bf26..6ecf64146 100755 --- a/gettext-tools/tests/msgconv-6 +++ b/gettext-tools/tests/msgconv-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgconv on a PO file with previous msgids. diff --git a/gettext-tools/tests/msgconv-7 b/gettext-tools/tests/msgconv-= 7 index f07cc54a7..6349d88f6 100755 --- a/gettext-tools/tests/msgconv-7 +++ b/gettext-tools/tests/msgconv-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgen-1 b/gettext-tools/tests/msgen-1 index 893c8cd08..fab7998c2 100755 --- a/gettext-tools/tests/msgen-1 +++ b/gettext-tools/tests/msgen-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test general operation. diff --git a/gettext-tools/tests/msgen-2 b/gettext-tools/tests/msgen-2 index b9108697d..b3f79e6d9 100755 --- a/gettext-tools/tests/msgen-2 +++ b/gettext-tools/tests/msgen-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test general operation with Java .properties syntax. diff --git a/gettext-tools/tests/msgen-3 b/gettext-tools/tests/msgen-3 index 9db7e677f..7018da581 100755 --- a/gettext-tools/tests/msgen-3 +++ b/gettext-tools/tests/msgen-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgen on a POT file with contexts. diff --git a/gettext-tools/tests/msgen-4 b/gettext-tools/tests/msgen-4 index 4867e9bb9..2f0d908b6 100755 --- a/gettext-tools/tests/msgen-4 +++ b/gettext-tools/tests/msgen-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgexec-1 b/gettext-tools/tests/msgexec-= 1 index 05c044596..50c6e7c8d 100755 --- a/gettext-tools/tests/msgexec-1 +++ b/gettext-tools/tests/msgexec-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of an external command. diff --git a/gettext-tools/tests/msgexec-2 b/gettext-tools/tests/msgexec-= 2 index 02f421809..824b30618 100755 --- a/gettext-tools/tests/msgexec-2 +++ b/gettext-tools/tests/msgexec-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test the builtin command "0". diff --git a/gettext-tools/tests/msgexec-3 b/gettext-tools/tests/msgexec-= 3 index 4dff887ff..102de56c3 100755 --- a/gettext-tools/tests/msgexec-3 +++ b/gettext-tools/tests/msgexec-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of an external command with Java .properties syntax. diff --git a/gettext-tools/tests/msgexec-4 b/gettext-tools/tests/msgexec-= 4 index 0687b3fd8..6b0ddccd1 100755 --- a/gettext-tools/tests/msgexec-4 +++ b/gettext-tools/tests/msgexec-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgexec on a PO file with contexts. diff --git a/gettext-tools/tests/msgexec-5 b/gettext-tools/tests/msgexec-= 5 index b83a6aa90..349677f49 100755 --- a/gettext-tools/tests/msgexec-5 +++ b/gettext-tools/tests/msgexec-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgexec on a PO file with plurals. diff --git a/gettext-tools/tests/msgexec-6 b/gettext-tools/tests/msgexec-= 6 index 0edccf92c..82ba1e3f6 100755 --- a/gettext-tools/tests/msgexec-6 +++ b/gettext-tools/tests/msgexec-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --newline option. diff --git a/gettext-tools/tests/msgfilter-1 b/gettext-tools/tests/msgfil= ter-1 index ef3820d5b..4579703a0 100755 --- a/gettext-tools/tests/msgfilter-1 +++ b/gettext-tools/tests/msgfilter-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test general filter execution. diff --git a/gettext-tools/tests/msgfilter-2 b/gettext-tools/tests/msgfil= ter-2 index 718dc1017..20b7bfa4d 100755 --- a/gettext-tools/tests/msgfilter-2 +++ b/gettext-tools/tests/msgfilter-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test sed execution. diff --git a/gettext-tools/tests/msgfilter-3 b/gettext-tools/tests/msgfil= ter-3 index 7e766572f..12e04b271 100755 --- a/gettext-tools/tests/msgfilter-3 +++ b/gettext-tools/tests/msgfilter-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test general filter execution with Java .properties syntax. diff --git a/gettext-tools/tests/msgfilter-4 b/gettext-tools/tests/msgfil= ter-4 index 6760b0fb6..6a53d6437 100755 --- a/gettext-tools/tests/msgfilter-4 +++ b/gettext-tools/tests/msgfilter-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgfilter on a PO file with contexts. diff --git a/gettext-tools/tests/msgfilter-5 b/gettext-tools/tests/msgfil= ter-5 index 21f08ee05..1cec5ebb6 100755 --- a/gettext-tools/tests/msgfilter-5 +++ b/gettext-tools/tests/msgfilter-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgfilter-6 b/gettext-tools/tests/msgfil= ter-6 index 357dd45d1..5f2467987 100755 --- a/gettext-tools/tests/msgfilter-6 +++ b/gettext-tools/tests/msgfilter-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgfilter on a PO file with plurals. diff --git a/gettext-tools/tests/msgfilter-7 b/gettext-tools/tests/msgfil= ter-7 index 8655c1875..d70431b9d 100755 --- a/gettext-tools/tests/msgfilter-7 +++ b/gettext-tools/tests/msgfilter-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test empty msgstr handling. diff --git a/gettext-tools/tests/msgfilter-8 b/gettext-tools/tests/msgfil= ter-8 index 9b665eb31..14e3a70bb 100755 --- a/gettext-tools/tests/msgfilter-8 +++ b/gettext-tools/tests/msgfilter-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --newline option. diff --git a/gettext-tools/tests/msgfilter-quote-1 b/gettext-tools/tests/= msgfilter-quote-1 index 6dcb364ad..c4a1c0c93 100755 --- a/gettext-tools/tests/msgfilter-quote-1 +++ b/gettext-tools/tests/msgfilter-quote-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test 'quot' and 'boldquot' filter. diff --git a/gettext-tools/tests/msgfilter-sr-latin-1 b/gettext-tools/tes= ts/msgfilter-sr-latin-1 index c1cc97875..5020a0b1b 100755 --- a/gettext-tools/tests/msgfilter-sr-latin-1 +++ b/gettext-tools/tests/msgfilter-sr-latin-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgfilter with command recode-sr-latin1. diff --git a/gettext-tools/tests/msgfmt-1 b/gettext-tools/tests/msgfmt-1 index 9bed6afd0..6b6cac3f6 100755 --- a/gettext-tools/tests/msgfmt-1 +++ b/gettext-tools/tests/msgfmt-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test basic functionality, duplicate detection, multiple domains. diff --git a/gettext-tools/tests/msgfmt-10 b/gettext-tools/tests/msgfmt-1= 0 index 684354b8d..6160a0872 100755 --- a/gettext-tools/tests/msgfmt-10 +++ b/gettext-tools/tests/msgfmt-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test format string checking in plural entries. diff --git a/gettext-tools/tests/msgfmt-11 b/gettext-tools/tests/msgfmt-1= 1 index ebafb0127..9aba29fda 100755 --- a/gettext-tools/tests/msgfmt-11 +++ b/gettext-tools/tests/msgfmt-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of invalid multibyte sequences. diff --git a/gettext-tools/tests/msgfmt-12 b/gettext-tools/tests/msgfmt-1= 2 index 19f938337..cfe3ecf00 100755 --- a/gettext-tools/tests/msgfmt-12 +++ b/gettext-tools/tests/msgfmt-12 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ISO C 99 format string directives. diff --git a/gettext-tools/tests/msgfmt-13 b/gettext-tools/tests/msgfmt-1= 3 index b7e265716..8b262c7b6 100755 --- a/gettext-tools/tests/msgfmt-13 +++ b/gettext-tools/tests/msgfmt-13 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that an out-of-range Unicode character doesn't lead to a crash. diff --git a/gettext-tools/tests/msgfmt-14 b/gettext-tools/tests/msgfmt-1= 4 index 9e30ffea7..19b0c6e06 100755 --- a/gettext-tools/tests/msgfmt-14 +++ b/gettext-tools/tests/msgfmt-14 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgfmt and msgunfmt on a PO file with contexts. diff --git a/gettext-tools/tests/msgfmt-15 b/gettext-tools/tests/msgfmt-1= 5 index ba5d51605..82ef6d319 100755 --- a/gettext-tools/tests/msgfmt-15 +++ b/gettext-tools/tests/msgfmt-15 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test plural formula dependent checking of format strings. diff --git a/gettext-tools/tests/msgfmt-16 b/gettext-tools/tests/msgfmt-1= 6 index f5d9fcab9..8e65116be 100755 --- a/gettext-tools/tests/msgfmt-16 +++ b/gettext-tools/tests/msgfmt-16 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgfmt on a PO file with previous msgids. diff --git a/gettext-tools/tests/msgfmt-17 b/gettext-tools/tests/msgfmt-1= 7 index 8624d7e53..d0f925b87 100755 --- a/gettext-tools/tests/msgfmt-17 +++ b/gettext-tools/tests/msgfmt-17 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test range dependent checking of format strings with plural forms. diff --git a/gettext-tools/tests/msgfmt-18 b/gettext-tools/tests/msgfmt-1= 8 index cbc8976ca..c14fa115c 100755 --- a/gettext-tools/tests/msgfmt-18 +++ b/gettext-tools/tests/msgfmt-18 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test accelerators. diff --git a/gettext-tools/tests/msgfmt-19 b/gettext-tools/tests/msgfmt-1= 9 index 76d4a739d..a11ac56fa 100755 --- a/gettext-tools/tests/msgfmt-19 +++ b/gettext-tools/tests/msgfmt-19 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that PO files that differ only in the POT-Creation-Date yield the diff --git a/gettext-tools/tests/msgfmt-2 b/gettext-tools/tests/msgfmt-2 index 4f527971b..3e4e205fe 100755 --- a/gettext-tools/tests/msgfmt-2 +++ b/gettext-tools/tests/msgfmt-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test basic functionality, duplicate detection, multiple domains. diff --git a/gettext-tools/tests/msgfmt-3 b/gettext-tools/tests/msgfmt-3 index aab90b892..c882518ce 100755 --- a/gettext-tools/tests/msgfmt-3 +++ b/gettext-tools/tests/msgfmt-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that an empty header entry is OK. diff --git a/gettext-tools/tests/msgfmt-4 b/gettext-tools/tests/msgfmt-4 index 5630257ec..c8c2c67e0 100755 --- a/gettext-tools/tests/msgfmt-4 +++ b/gettext-tools/tests/msgfmt-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test c-format handling. diff --git a/gettext-tools/tests/msgfmt-5 b/gettext-tools/tests/msgfmt-5 index 2820ebcd8..7632a259e 100755 --- a/gettext-tools/tests/msgfmt-5 +++ b/gettext-tools/tests/msgfmt-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test multi-domain handling. diff --git a/gettext-tools/tests/msgfmt-6 b/gettext-tools/tests/msgfmt-6 index aededbcba..94442aaa6 100755 --- a/gettext-tools/tests/msgfmt-6 +++ b/gettext-tools/tests/msgfmt-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test catching of division by zero in plural expression. diff --git a/gettext-tools/tests/msgfmt-7 b/gettext-tools/tests/msgfmt-7 index 79717a150..f3d70b341 100755 --- a/gettext-tools/tests/msgfmt-7 +++ b/gettext-tools/tests/msgfmt-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Check for duplicates with identical translations diff --git a/gettext-tools/tests/msgfmt-8 b/gettext-tools/tests/msgfmt-8 index 9ec1c1eae..9c77501be 100755 --- a/gettext-tools/tests/msgfmt-8 +++ b/gettext-tools/tests/msgfmt-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Check for duplicates with different translations diff --git a/gettext-tools/tests/msgfmt-9 b/gettext-tools/tests/msgfmt-9 index e3269bc2b..5cc882ad6 100755 --- a/gettext-tools/tests/msgfmt-9 +++ b/gettext-tools/tests/msgfmt-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Duplicates are also fatal in obsolete marked entries. diff --git a/gettext-tools/tests/msgfmt-desktop-1 b/gettext-tools/tests/m= sgfmt-desktop-1 index a1c71fb18..2711deaee 100755 --- a/gettext-tools/tests/msgfmt-desktop-1 +++ b/gettext-tools/tests/msgfmt-desktop-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test iterative mode of msgfmt --desktop. diff --git a/gettext-tools/tests/msgfmt-desktop-2 b/gettext-tools/tests/m= sgfmt-desktop-2 index d131980d8..b6543f4f9 100755 --- a/gettext-tools/tests/msgfmt-desktop-2 +++ b/gettext-tools/tests/msgfmt-desktop-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test 'bulk' mode of Desktop Entry support. diff --git a/gettext-tools/tests/msgfmt-desktop-3 b/gettext-tools/tests/m= sgfmt-desktop-3 index 149d9c203..b9be1b844 100755 --- a/gettext-tools/tests/msgfmt-desktop-3 +++ b/gettext-tools/tests/msgfmt-desktop-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Icon handling in Desktop Entry support. diff --git a/gettext-tools/tests/msgfmt-properties-1 b/gettext-tools/test= s/msgfmt-properties-1 index fab406d59..16efe3e29 100755 --- a/gettext-tools/tests/msgfmt-properties-1 +++ b/gettext-tools/tests/msgfmt-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test basic functioning with Java .properties syntax. diff --git a/gettext-tools/tests/msgfmt-xml-1 b/gettext-tools/tests/msgfm= t-xml-1 index c7de103c7..6b7b6756d 100755 --- a/gettext-tools/tests/msgfmt-xml-1 +++ b/gettext-tools/tests/msgfmt-xml-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test iterative mode of msgfmt --xml. diff --git a/gettext-tools/tests/msgfmt-xml-2 b/gettext-tools/tests/msgfm= t-xml-2 index f8d51f164..484ce9888 100755 --- a/gettext-tools/tests/msgfmt-xml-2 +++ b/gettext-tools/tests/msgfmt-xml-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test 'bulk' mode of msgfmt --xml. diff --git a/gettext-tools/tests/msggrep-1 b/gettext-tools/tests/msggrep-= 1 index 047f26239..600aa6f2d 100755 --- a/gettext-tools/tests/msggrep-1 +++ b/gettext-tools/tests/msggrep-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --location option. diff --git a/gettext-tools/tests/msggrep-11 b/gettext-tools/tests/msggrep= -11 index 5df1fb0a5..69989d1a7 100755 --- a/gettext-tools/tests/msggrep-11 +++ b/gettext-tools/tests/msggrep-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msggrep-2 b/gettext-tools/tests/msggrep-= 2 index 15ad845b9..b554483d2 100755 --- a/gettext-tools/tests/msggrep-2 +++ b/gettext-tools/tests/msggrep-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --domain option. diff --git a/gettext-tools/tests/msggrep-3 b/gettext-tools/tests/msggrep-= 3 index 86da09f74..c79f15b52 100755 --- a/gettext-tools/tests/msggrep-3 +++ b/gettext-tools/tests/msggrep-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --msgid and --msgstr options. diff --git a/gettext-tools/tests/msggrep-4 b/gettext-tools/tests/msggrep-= 4 index f711d81f1..da91d42ba 100755 --- a/gettext-tools/tests/msggrep-4 +++ b/gettext-tools/tests/msggrep-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test multiple -e and multiple -f options. diff --git a/gettext-tools/tests/msggrep-5 b/gettext-tools/tests/msggrep-= 5 index 4f11e155a..26a6b9512 100755 --- a/gettext-tools/tests/msggrep-5 +++ b/gettext-tools/tests/msggrep-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --comment option. diff --git a/gettext-tools/tests/msggrep-6 b/gettext-tools/tests/msggrep-= 6 index c42848340..7f3293b01 100755 --- a/gettext-tools/tests/msggrep-6 +++ b/gettext-tools/tests/msggrep-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --msgid and --msgstr options with Java .properties syntax. diff --git a/gettext-tools/tests/msggrep-7 b/gettext-tools/tests/msggrep-= 7 index 82319cecb..cd384da90 100755 --- a/gettext-tools/tests/msggrep-7 +++ b/gettext-tools/tests/msggrep-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msggrep on a PO file with contexts. diff --git a/gettext-tools/tests/msggrep-8 b/gettext-tools/tests/msggrep-= 8 index 61b8f1487..9b06bdbab 100755 --- a/gettext-tools/tests/msggrep-8 +++ b/gettext-tools/tests/msggrep-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --extracted-comment option. diff --git a/gettext-tools/tests/msggrep-9 b/gettext-tools/tests/msggrep-= 9 index 207f69ec1..7deae6671 100755 --- a/gettext-tools/tests/msggrep-9 +++ b/gettext-tools/tests/msggrep-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test interpretation of $ as end-of-line anchor. diff --git a/gettext-tools/tests/msginit-1 b/gettext-tools/tests/msginit-= 1 index 8621f8bc9..ebba49db1 100755 --- a/gettext-tools/tests/msginit-1 +++ b/gettext-tools/tests/msginit-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test plural count for locales with nplurals !=3D 2. diff --git a/gettext-tools/tests/msginit-2 b/gettext-tools/tests/msginit-= 2 index bd3efcdfe..fa9ed8cdc 100755 --- a/gettext-tools/tests/msginit-2 +++ b/gettext-tools/tests/msginit-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msginit on a POT file with contexts. diff --git a/gettext-tools/tests/msginit-3 b/gettext-tools/tests/msginit-= 3 index 1758ad516..67f7b5f2c 100755 --- a/gettext-tools/tests/msginit-3 +++ b/gettext-tools/tests/msginit-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test various msginit options. diff --git a/gettext-tools/tests/msginit-4 b/gettext-tools/tests/msginit-= 4 index 50b295fc0..3284e4dbc 100755 --- a/gettext-tools/tests/msginit-4 +++ b/gettext-tools/tests/msginit-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test filling Plural-Forms: with Unicode CLDR diff --git a/gettext-tools/tests/msgmerge-1 b/gettext-tools/tests/msgmerg= e-1 index 141b6be75..8cd7a4a84 100755 --- a/gettext-tools/tests/msgmerge-1 +++ b/gettext-tools/tests/msgmerge-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test general operation and line wrapping. diff --git a/gettext-tools/tests/msgmerge-10 b/gettext-tools/tests/msgmer= ge-10 index 808134683..73c6773b8 100755 --- a/gettext-tools/tests/msgmerge-10 +++ b/gettext-tools/tests/msgmerge-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merging of a message which has plural forms in ref.pot but not diff --git a/gettext-tools/tests/msgmerge-11 b/gettext-tools/tests/msgmer= ge-11 index ed49db95a..98423f5d2 100755 --- a/gettext-tools/tests/msgmerge-11 +++ b/gettext-tools/tests/msgmerge-11 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merging of a message which has plural forms in ref.pot but not diff --git a/gettext-tools/tests/msgmerge-12 b/gettext-tools/tests/msgmer= ge-12 index fb9f52f5c..f813a2bd5 100755 --- a/gettext-tools/tests/msgmerge-12 +++ b/gettext-tools/tests/msgmerge-12 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merging of a message which has plural forms in def.po but not diff --git a/gettext-tools/tests/msgmerge-13 b/gettext-tools/tests/msgmer= ge-13 index 4eb9a4df4..50e4b8159 100755 --- a/gettext-tools/tests/msgmerge-13 +++ b/gettext-tools/tests/msgmerge-13 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merging of a message which has c-format specified in ref.pot but = not diff --git a/gettext-tools/tests/msgmerge-14 b/gettext-tools/tests/msgmer= ge-14 index 1514d8e64..745585514 100755 --- a/gettext-tools/tests/msgmerge-14 +++ b/gettext-tools/tests/msgmerge-14 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test merging of a ref.pot in UTF-8 encoding against a def.po in legacy diff --git a/gettext-tools/tests/msgmerge-15 b/gettext-tools/tests/msgmer= ge-15 index 30dca36fe..dd1870476 100755 --- a/gettext-tools/tests/msgmerge-15 +++ b/gettext-tools/tests/msgmerge-15 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test pseudo-comments containing filenames that start with a digit. diff --git a/gettext-tools/tests/msgmerge-16 b/gettext-tools/tests/msgmer= ge-16 index cbff31237..dc46e3b54 100755 --- a/gettext-tools/tests/msgmerge-16 +++ b/gettext-tools/tests/msgmerge-16 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test non-ASCII msgids when the PO file and the POT file are in differe= nt diff --git a/gettext-tools/tests/msgmerge-17 b/gettext-tools/tests/msgmer= ge-17 index 6b64fcd01..3010da9d0 100755 --- a/gettext-tools/tests/msgmerge-17 +++ b/gettext-tools/tests/msgmerge-17 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that untranslated messages that are brought over from the .pot fi= le diff --git a/gettext-tools/tests/msgmerge-18 b/gettext-tools/tests/msgmer= ge-18 index ef0f6d64e..650e96323 100755 --- a/gettext-tools/tests/msgmerge-18 +++ b/gettext-tools/tests/msgmerge-18 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge and msgcmp on a PO file with contexts. diff --git a/gettext-tools/tests/msgmerge-19 b/gettext-tools/tests/msgmer= ge-19 index 4b3119ead..3286a43bd 100755 --- a/gettext-tools/tests/msgmerge-19 +++ b/gettext-tools/tests/msgmerge-19 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge --previous option. diff --git a/gettext-tools/tests/msgmerge-2 b/gettext-tools/tests/msgmerg= e-2 index 8ff513414..c5fdff173 100755 --- a/gettext-tools/tests/msgmerge-2 +++ b/gettext-tools/tests/msgmerge-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of duplicates. diff --git a/gettext-tools/tests/msgmerge-20 b/gettext-tools/tests/msgmer= ge-20 index 5985fa877..93bb10623 100755 --- a/gettext-tools/tests/msgmerge-20 +++ b/gettext-tools/tests/msgmerge-20 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge when the second argument is a PO file with obsolete mess= ages diff --git a/gettext-tools/tests/msgmerge-21 b/gettext-tools/tests/msgmer= ge-21 index d3c014bb6..92a76e04c 100755 --- a/gettext-tools/tests/msgmerge-21 +++ b/gettext-tools/tests/msgmerge-21 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge when a message's flags have been changed from c-format t= o diff --git a/gettext-tools/tests/msgmerge-22 b/gettext-tools/tests/msgmer= ge-22 index ffda11d4e..75939f40b 100755 --- a/gettext-tools/tests/msgmerge-22 +++ b/gettext-tools/tests/msgmerge-22 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge when a msgid_plural changed but msgid remained the same. diff --git a/gettext-tools/tests/msgmerge-23 b/gettext-tools/tests/msgmer= ge-23 index 125cdfe06..d6f3bd7ed 100755 --- a/gettext-tools/tests/msgmerge-23 +++ b/gettext-tools/tests/msgmerge-23 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge when a msgid_plural changed but msgid remained the same, diff --git a/gettext-tools/tests/msgmerge-24 b/gettext-tools/tests/msgmer= ge-24 index 42b6d6fa7..06342e3af 100755 --- a/gettext-tools/tests/msgmerge-24 +++ b/gettext-tools/tests/msgmerge-24 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msgmerge and msgcmp: handling of 'range:' flags. diff --git a/gettext-tools/tests/msgmerge-25 b/gettext-tools/tests/msgmer= ge-25 index af76b48bf..cd88c34e7 100755 --- a/gettext-tools/tests/msgmerge-25 +++ b/gettext-tools/tests/msgmerge-25 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msgmerge-26 b/gettext-tools/tests/msgmer= ge-26 index b86f7a073..361f91b44 100755 --- a/gettext-tools/tests/msgmerge-26 +++ b/gettext-tools/tests/msgmerge-26 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --for-msgfmt option. diff --git a/gettext-tools/tests/msgmerge-27 b/gettext-tools/tests/msgmer= ge-27 index e8076ee2c..31e677df9 100755 --- a/gettext-tools/tests/msgmerge-27 +++ b/gettext-tools/tests/msgmerge-27 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that the msgmerge output is stable under an 'msgcat' invocation. diff --git a/gettext-tools/tests/msgmerge-28 b/gettext-tools/tests/msgmer= ge-28 index ec3faaf5b..4f745cff9 100755 --- a/gettext-tools/tests/msgmerge-28 +++ b/gettext-tools/tests/msgmerge-28 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test that the msgmerge output is stable under an 'msgcat' invocation. diff --git a/gettext-tools/tests/msgmerge-3 b/gettext-tools/tests/msgmerg= e-3 index 3c092ed91..c5a7477bb 100755 --- a/gettext-tools/tests/msgmerge-3 +++ b/gettext-tools/tests/msgmerge-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of obsolete/untranslated messages. diff --git a/gettext-tools/tests/msgmerge-4 b/gettext-tools/tests/msgmerg= e-4 index 423ea08d9..a886b40e5 100755 --- a/gettext-tools/tests/msgmerge-4 +++ b/gettext-tools/tests/msgmerge-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of comments. diff --git a/gettext-tools/tests/msgmerge-5 b/gettext-tools/tests/msgmerg= e-5 index 0b25be23c..cb31b4e98 100755 --- a/gettext-tools/tests/msgmerge-5 +++ b/gettext-tools/tests/msgmerge-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of header entry. diff --git a/gettext-tools/tests/msgmerge-6 b/gettext-tools/tests/msgmerg= e-6 index 9b66bc774..6ebc3dba7 100755 --- a/gettext-tools/tests/msgmerge-6 +++ b/gettext-tools/tests/msgmerge-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test non-ASCII character at the end of msgstr. (Triggered a glibc-2.1 = bug.) diff --git a/gettext-tools/tests/msgmerge-7 b/gettext-tools/tests/msgmerg= e-7 index cdc754278..20506f4f7 100755 --- a/gettext-tools/tests/msgmerge-7 +++ b/gettext-tools/tests/msgmerge-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test multi-domain handling. diff --git a/gettext-tools/tests/msgmerge-8 b/gettext-tools/tests/msgmerg= e-8 index c5fb4dced..20f3e213e 100755 --- a/gettext-tools/tests/msgmerge-8 +++ b/gettext-tools/tests/msgmerge-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test multi-domain handling. diff --git a/gettext-tools/tests/msgmerge-9 b/gettext-tools/tests/msgmerg= e-9 index 353c74a73..9ad75d1e4 100755 --- a/gettext-tools/tests/msgmerge-9 +++ b/gettext-tools/tests/msgmerge-9 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Duplicates are also fatal in obsolete marked entries (cf. msgmerge-3). diff --git a/gettext-tools/tests/msgmerge-compendium-1 b/gettext-tools/te= sts/msgmerge-compendium-1 index 3d4e0086d..cab44ad1a 100755 --- a/gettext-tools/tests/msgmerge-compendium-1 +++ b/gettext-tools/tests/msgmerge-compendium-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test compendium option. diff --git a/gettext-tools/tests/msgmerge-compendium-2 b/gettext-tools/te= sts/msgmerge-compendium-2 index 650075c9c..f04f9a8f5 100755 --- a/gettext-tools/tests/msgmerge-compendium-2 +++ b/gettext-tools/tests/msgmerge-compendium-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test compendium option with fuzziness. diff --git a/gettext-tools/tests/msgmerge-compendium-3 b/gettext-tools/te= sts/msgmerge-compendium-3 index ce4e54319..e1e2fab5f 100755 --- a/gettext-tools/tests/msgmerge-compendium-3 +++ b/gettext-tools/tests/msgmerge-compendium-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test compendium option. diff --git a/gettext-tools/tests/msgmerge-compendium-4 b/gettext-tools/te= sts/msgmerge-compendium-4 index 050664e82..ef39b2a5c 100755 --- a/gettext-tools/tests/msgmerge-compendium-4 +++ b/gettext-tools/tests/msgmerge-compendium-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test compendium option. Use it there was no "old" PO file at all diff --git a/gettext-tools/tests/msgmerge-compendium-6 b/gettext-tools/te= sts/msgmerge-compendium-6 index 0afbe1e32..27c6ed1e8 100755 --- a/gettext-tools/tests/msgmerge-compendium-6 +++ b/gettext-tools/tests/msgmerge-compendium-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test compendium option with mixed encodings. diff --git a/gettext-tools/tests/msgmerge-properties-1 b/gettext-tools/te= sts/msgmerge-properties-1 index f7554b638..c51f4831f 100755 --- a/gettext-tools/tests/msgmerge-properties-1 +++ b/gettext-tools/tests/msgmerge-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test handling of obsolete/untranslated messages with Java .properties = syntax. diff --git a/gettext-tools/tests/msgmerge-properties-2 b/gettext-tools/te= sts/msgmerge-properties-2 index 595f0eb18..81c03a5bb 100755 --- a/gettext-tools/tests/msgmerge-properties-2 +++ b/gettext-tools/tests/msgmerge-properties-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --update: location changed, and xgettext comment added. Both chan= ges diff --git a/gettext-tools/tests/msgmerge-update-1 b/gettext-tools/tests/= msgmerge-update-1 index 11f072a90..fa7e73bf4 100755 --- a/gettext-tools/tests/msgmerge-update-1 +++ b/gettext-tools/tests/msgmerge-update-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --update: nothing changed; don't normalize second message diff --git a/gettext-tools/tests/msgmerge-update-2 b/gettext-tools/tests/= msgmerge-update-2 index 0c499c40b..adfb7e1fc 100755 --- a/gettext-tools/tests/msgmerge-update-2 +++ b/gettext-tools/tests/msgmerge-update-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --update: location changed, and xgettext comment added. Both chan= ges diff --git a/gettext-tools/tests/msgmerge-update-3 b/gettext-tools/tests/= msgmerge-update-3 index a77606e69..212741a2a 100755 --- a/gettext-tools/tests/msgmerge-update-3 +++ b/gettext-tools/tests/msgmerge-update-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --update: POT-Creation-Date changed. This change must not be refl= ected diff --git a/gettext-tools/tests/msgmerge-update-4 b/gettext-tools/tests/= msgmerge-update-4 index 8c4ea69e5..d6c3dbb74 100755 --- a/gettext-tools/tests/msgmerge-update-4 +++ b/gettext-tools/tests/msgmerge-update-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --update with --sort-output: POT-Creation-Date changed. This chan= ge diff --git a/gettext-tools/tests/msgunfmt-1 b/gettext-tools/tests/msgunfm= t-1 index 76aa6ac0c..da589cb12 100755 --- a/gettext-tools/tests/msgunfmt-1 +++ b/gettext-tools/tests/msgunfmt-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of general operation. diff --git a/gettext-tools/tests/msgunfmt-2 b/gettext-tools/tests/msgunfm= t-2 index 496e9314b..038e4ae53 100755 --- a/gettext-tools/tests/msgunfmt-2 +++ b/gettext-tools/tests/msgunfmt-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ISO C 99 format string directives. diff --git a/gettext-tools/tests/msgunfmt-csharp-1 b/gettext-tools/tests/= msgunfmt-csharp-1 index fbbd5cced..31a85ab5e 100755 --- a/gettext-tools/tests/msgunfmt-csharp-1 +++ b/gettext-tools/tests/msgunfmt-csharp-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of --csharp option. diff --git a/gettext-tools/tests/msgunfmt-java-1 b/gettext-tools/tests/ms= gunfmt-java-1 index e0c3bdcad..a43575d9a 100755 --- a/gettext-tools/tests/msgunfmt-java-1 +++ b/gettext-tools/tests/msgunfmt-java-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of --java option. diff --git a/gettext-tools/tests/msgunfmt-properties-1 b/gettext-tools/te= sts/msgunfmt-properties-1 index 2184dbd0e..4328befef 100755 --- a/gettext-tools/tests/msgunfmt-properties-1 +++ b/gettext-tools/tests/msgunfmt-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of general operation with Java .properties syntax. diff --git a/gettext-tools/tests/msgunfmt-tcl-1 b/gettext-tools/tests/msg= unfmt-tcl-1 index e1bc9e2c6..132d14162 100755 --- a/gettext-tools/tests/msgunfmt-tcl-1 +++ b/gettext-tools/tests/msgunfmt-tcl-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of --tcl option. diff --git a/gettext-tools/tests/msguniq-2 b/gettext-tools/tests/msguniq-= 2 index fdf9140f2..b9db91a6d 100755 --- a/gettext-tools/tests/msguniq-2 +++ b/gettext-tools/tests/msguniq-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --unique option. diff --git a/gettext-tools/tests/msguniq-3 b/gettext-tools/tests/msguniq-= 3 index b05623e5f..068c380ca 100755 --- a/gettext-tools/tests/msguniq-3 +++ b/gettext-tools/tests/msguniq-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --repeated option. diff --git a/gettext-tools/tests/msguniq-5 b/gettext-tools/tests/msguniq-= 5 index a73aecbc6..151cd02a3 100755 --- a/gettext-tools/tests/msguniq-5 +++ b/gettext-tools/tests/msguniq-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msguniq on a PO file with contexts. diff --git a/gettext-tools/tests/msguniq-6 b/gettext-tools/tests/msguniq-= 6 index 36d502794..95e80ac51 100755 --- a/gettext-tools/tests/msguniq-6 +++ b/gettext-tools/tests/msguniq-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test msguniq on PO file with previous msgids. diff --git a/gettext-tools/tests/msguniq-7 b/gettext-tools/tests/msguniq-= 7 index a86627079..3fef4e481 100755 --- a/gettext-tools/tests/msguniq-7 +++ b/gettext-tools/tests/msguniq-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/msguniq-a.in b/gettext-tools/tests/msgun= iq-a.in index 5c143ead6..0383576ea 100644 --- a/gettext-tools/tests/msguniq-a.in +++ b/gettext-tools/tests/msguniq-a.in @@ -1,4 +1,12 @@ # Template messages for CLISP + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 1992-2001 Bruno Haible, Michael Stoll, Marcus Daniels # Bruno Haible , 2001. # diff --git a/gettext-tools/tests/msguniq-a.inp b/gettext-tools/tests/msgu= niq-a.inp index 211119712..099eebdb5 100644 --- a/gettext-tools/tests/msguniq-a.inp +++ b/gettext-tools/tests/msguniq-a.inp @@ -1,4 +1,12 @@ # Template messages for CLISP + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 1992-2001 Bruno Haible, Michael Stoll, Marcus Daniels # Bruno Haible , 2001. # diff --git a/gettext-tools/tests/msguniq-a.out b/gettext-tools/tests/msgu= niq-a.out index d18d67599..519c46ccf 100644 --- a/gettext-tools/tests/msguniq-a.out +++ b/gettext-tools/tests/msguniq-a.out @@ -1,4 +1,12 @@ # Template messages for CLISP + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 1992-2001 Bruno Haible, Michael Stoll, Marcus Daniels # Bruno Haible , 2001. # diff --git a/gettext-tools/tests/plural-1 b/gettext-tools/tests/plural-1 index 84ad7d2bd..f1f26c05f 100755 --- a/gettext-tools/tests/plural-1 +++ b/gettext-tools/tests/plural-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 : ${XGETTEXT=3Dxgettext} diff --git a/gettext-tools/tests/plural-2 b/gettext-tools/tests/plural-2 index 983f20772..999ff9b2e 100755 --- a/gettext-tools/tests/plural-2 +++ b/gettext-tools/tests/plural-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 : ${MSGFMT=3Dmsgfmt} diff --git a/gettext-tools/tests/qttest2_de.po b/gettext-tools/tests/qtte= st2_de.po index 500f7e497..c596aa3c2 100644 --- a/gettext-tools/tests/qttest2_de.po +++ b/gettext-tools/tests/qttest2_de.po @@ -1,4 +1,12 @@ # German translations for hello-cplusplus-qt package. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 2005 Yoyodyne, Inc. # This file is distributed under the same license as the hello-cplusplus= -qt package. # Bruno Haible , 2005. diff --git a/gettext-tools/tests/qttest2_de.ts b/gettext-tools/tests/qtte= st2_de.ts index 103de7b99..02197521c 100644 --- a/gettext-tools/tests/qttest2_de.ts +++ b/gettext-tools/tests/qttest2_de.ts @@ -1,4 +1,12 @@ + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + Menu diff --git a/gettext-tools/tests/qttest_pl.po b/gettext-tools/tests/qttes= t_pl.po index d90ab8a61..07016a0fa 100644 --- a/gettext-tools/tests/qttest_pl.po +++ b/gettext-tools/tests/qttest_pl.po @@ -1,4 +1,12 @@ # Polish translations for hello-cplusplus-qt package. + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + # Copyright (C) 2003 Yoyodyne, Inc. # This file is distributed under the same license as the hello-cplusplus= -qt package. # Bruno Haible , 2003. diff --git a/gettext-tools/tests/recode-sr-latin-1 b/gettext-tools/tests/= recode-sr-latin-1 index 9bdd9124b..be76e9921 100755 --- a/gettext-tools/tests/recode-sr-latin-1 +++ b/gettext-tools/tests/recode-sr-latin-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recode-sr-latin on some input in UTF-8 encoding. diff --git a/gettext-tools/tests/recode-sr-latin-2 b/gettext-tools/tests/= recode-sr-latin-2 index 61aa233a8..552e91574 100755 --- a/gettext-tools/tests/recode-sr-latin-2 +++ b/gettext-tools/tests/recode-sr-latin-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recode-sr-latin on some input in EUC-JP encoding. diff --git a/gettext-tools/tests/sentence-1 b/gettext-tools/tests/sentenc= e-1 index 7df9e2cd8..cf56c5f1a 100755 --- a/gettext-tools/tests/sentence-1 +++ b/gettext-tools/tests/sentence-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of sentence handling. diff --git a/gettext-tools/tests/xgettext-1 b/gettext-tools/tests/xgettex= t-1 index 8313c18da..69430f100 100755 --- a/gettext-tools/tests/xgettext-1 +++ b/gettext-tools/tests/xgettext-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # This test often fails during development. It works after "make dist". diff --git a/gettext-tools/tests/xgettext-10 b/gettext-tools/tests/xgette= xt-10 index b82fa95f1..800ba84db 100755 --- a/gettext-tools/tests/xgettext-10 +++ b/gettext-tools/tests/xgettext-10 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --add-location=3Dfile option. diff --git a/gettext-tools/tests/xgettext-11 b/gettext-tools/tests/xgette= xt-11 index 2378ceac4..9e003d51c 100755 --- a/gettext-tools/tests/xgettext-11 +++ b/gettext-tools/tests/xgettext-11 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of multi-line comment extraction. diff --git a/gettext-tools/tests/xgettext-12 b/gettext-tools/tests/xgette= xt-12 index e0ffb5a57..8b2e7455f 100755 --- a/gettext-tools/tests/xgettext-12 +++ b/gettext-tools/tests/xgettext-12 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of msgid_plural extraction in the case of duplicated msgids. diff --git a/gettext-tools/tests/xgettext-13 b/gettext-tools/tests/xgette= xt-13 index 923a67dbc..35924ec3b 100755 --- a/gettext-tools/tests/xgettext-13 +++ b/gettext-tools/tests/xgettext-13 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test wrapping long lines. diff --git a/gettext-tools/tests/xgettext-14 b/gettext-tools/tests/xgette= xt-14 index 8035820a9..ea436913a 100755 --- a/gettext-tools/tests/xgettext-14 +++ b/gettext-tools/tests/xgettext-14 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test for --check option. diff --git a/gettext-tools/tests/xgettext-15 b/gettext-tools/tests/xgette= xt-15 index 355d91b3d..d3433a538 100755 --- a/gettext-tools/tests/xgettext-15 +++ b/gettext-tools/tests/xgettext-15 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test for a warning when the same msgid is used with and without msgid_= plural. diff --git a/gettext-tools/tests/xgettext-2 b/gettext-tools/tests/xgettex= t-2 index 0535a974c..cfd7ffc45 100755 --- a/gettext-tools/tests/xgettext-2 +++ b/gettext-tools/tests/xgettext-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Even an empty string is extracted, if not overridden by xgettext's diff --git a/gettext-tools/tests/xgettext-3 b/gettext-tools/tests/xgettex= t-3 index f5e9f902c..2af944df6 100755 --- a/gettext-tools/tests/xgettext-3 +++ b/gettext-tools/tests/xgettext-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # When a header entry is provided by xgettext, it overrides any msgid "" diff --git a/gettext-tools/tests/xgettext-4 b/gettext-tools/tests/xgettex= t-4 index 1adae342f..e189e62d1 100755 --- a/gettext-tools/tests/xgettext-4 +++ b/gettext-tools/tests/xgettext-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test --foreign-user diff --git a/gettext-tools/tests/xgettext-5 b/gettext-tools/tests/xgettex= t-5 index 85be8ef95..9ff04ecda 100755 --- a/gettext-tools/tests/xgettext-5 +++ b/gettext-tools/tests/xgettext-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test extraction of non-ASCII msgids. diff --git a/gettext-tools/tests/xgettext-6 b/gettext-tools/tests/xgettex= t-6 index 416fe7b1c..215278bff 100755 --- a/gettext-tools/tests/xgettext-6 +++ b/gettext-tools/tests/xgettext-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of position dependent recognition of format strings. diff --git a/gettext-tools/tests/xgettext-7 b/gettext-tools/tests/xgettex= t-7 index 3bd94fc52..8618fb6f5 100755 --- a/gettext-tools/tests/xgettext-7 +++ b/gettext-tools/tests/xgettext-7 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of comment extraction in the case of duplicated msgids. diff --git a/gettext-tools/tests/xgettext-8 b/gettext-tools/tests/xgettex= t-8 index 8475a899d..2c36659de 100755 --- a/gettext-tools/tests/xgettext-8 +++ b/gettext-tools/tests/xgettext-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test -j option with charset conversion from ISO-8859-1 to UTF-8. diff --git a/gettext-tools/tests/xgettext-9 b/gettext-tools/tests/xgettex= t-9 index fb16dc9c4..204d4ad1d 100755 --- a/gettext-tools/tests/xgettext-9 +++ b/gettext-tools/tests/xgettext-9 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of extracted comments specified per keyword, including the case o= f diff --git a/gettext-tools/tests/xgettext-appdata-1 b/gettext-tools/tests= /xgettext-appdata-1 index 6d57e39d7..56d8a54bd 100755 --- a/gettext-tools/tests/xgettext-appdata-1 +++ b/gettext-tools/tests/xgettext-appdata-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of AppData support. diff --git a/gettext-tools/tests/xgettext-awk-1 b/gettext-tools/tests/xge= ttext-awk-1 index 651ea4e9d..ef692c433 100755 --- a/gettext-tools/tests/xgettext-awk-1 +++ b/gettext-tools/tests/xgettext-awk-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test awk support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-awk-2 b/gettext-tools/tests/xge= ttext-awk-2 index 4c904c831..8c9932ba6 100755 --- a/gettext-tools/tests/xgettext-awk-2 +++ b/gettext-tools/tests/xgettext-awk-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test awk support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-c-2 b/gettext-tools/tests/xgett= ext-c-2 index c90786d2e..0914e6604 100755 --- a/gettext-tools/tests/xgettext-c-2 +++ b/gettext-tools/tests/xgettext-c-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: comments meant for xgettext, whitespace, and literals. diff --git a/gettext-tools/tests/xgettext-c-3 b/gettext-tools/tests/xgett= ext-c-3 index c06c056cb..1f3123e19 100755 --- a/gettext-tools/tests/xgettext-c-3 +++ b/gettext-tools/tests/xgettext-c-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: recognition of #line. diff --git a/gettext-tools/tests/xgettext-c-4 b/gettext-tools/tests/xgett= ext-c-4 index 9f2b1c591..050ad0594 100755 --- a/gettext-tools/tests/xgettext-c-4 +++ b/gettext-tools/tests/xgettext-c-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: --trigraphs option. diff --git a/gettext-tools/tests/xgettext-c-5 b/gettext-tools/tests/xgett= ext-c-5 index 01e9a1908..42ff3ccf9 100755 --- a/gettext-tools/tests/xgettext-c-5 +++ b/gettext-tools/tests/xgettext-c-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: C11 string literals. diff --git a/gettext-tools/tests/xgettext-c-6 b/gettext-tools/tests/xgett= ext-c-6 index 54fab0a6a..8373fac71 100755 --- a/gettext-tools/tests/xgettext-c-6 +++ b/gettext-tools/tests/xgettext-c-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: extraction of 'range:' flags. diff --git a/gettext-tools/tests/xgettext-c-c++-1 b/gettext-tools/tests/x= gettext-c-c++-1 index 9d0180b14..9ccacc136 100755 --- a/gettext-tools/tests/xgettext-c-c++-1 +++ b/gettext-tools/tests/xgettext-c-c++-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C++ support: C++11 string literals. diff --git a/gettext-tools/tests/xgettext-c-c++-2 b/gettext-tools/tests/x= gettext-c-c++-2 index df6ced40c..a86a0aa20 100755 --- a/gettext-tools/tests/xgettext-c-c++-2 +++ b/gettext-tools/tests/xgettext-c-c++-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C++ support: C++14 preprocessing number tokens. diff --git a/gettext-tools/tests/xgettext-c-comment-1 b/gettext-tools/tes= ts/xgettext-c-comment-1 index a8cb39bdb..c822d47e4 100755 --- a/gettext-tools/tests/xgettext-c-comment-1 +++ b/gettext-tools/tests/xgettext-c-comment-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: comments. diff --git a/gettext-tools/tests/xgettext-c-comment-2 b/gettext-tools/tes= ts/xgettext-c-comment-2 index 9eeb01fe5..91863dba1 100755 --- a/gettext-tools/tests/xgettext-c-comment-2 +++ b/gettext-tools/tests/xgettext-c-comment-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: comments. diff --git a/gettext-tools/tests/xgettext-c-comment-3 b/gettext-tools/tes= ts/xgettext-c-comment-3 index 0c92a7b66..6d537f368 100755 --- a/gettext-tools/tests/xgettext-c-comment-3 +++ b/gettext-tools/tests/xgettext-c-comment-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-c-comment-4 b/gettext-tools/tes= ts/xgettext-c-comment-4 index 6c76d2f90..f2f8adbc5 100755 --- a/gettext-tools/tests/xgettext-c-comment-4 +++ b/gettext-tools/tests/xgettext-c-comment-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-c-comment-5 b/gettext-tools/tes= ts/xgettext-c-comment-5 index 48d78bdba..77fa57a57 100755 --- a/gettext-tools/tests/xgettext-c-comment-5 +++ b/gettext-tools/tests/xgettext-c-comment-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-c-comment-6 b/gettext-tools/tes= ts/xgettext-c-comment-6 index 789317434..2ea3c8c28 100755 --- a/gettext-tools/tests/xgettext-c-comment-6 +++ b/gettext-tools/tests/xgettext-c-comment-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: non-ASCII extracted comments. diff --git a/gettext-tools/tests/xgettext-c-ctxt-1 b/gettext-tools/tests/= xgettext-c-ctxt-1 index 5f38098c7..55d3a9685 100755 --- a/gettext-tools/tests/xgettext-c-ctxt-1 +++ b/gettext-tools/tests/xgettext-c-ctxt-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: extraction of contexts. diff --git a/gettext-tools/tests/xgettext-c-ctxt-2 b/gettext-tools/tests/= xgettext-c-ctxt-2 index 2df778e6f..b75055b2d 100755 --- a/gettext-tools/tests/xgettext-c-ctxt-2 +++ b/gettext-tools/tests/xgettext-c-ctxt-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: extraction of contexts, disambiguating according to th= e diff --git a/gettext-tools/tests/xgettext-c-ctxt-3 b/gettext-tools/tests/= xgettext-c-ctxt-3 index ead038a22..fa03c0af8 100755 --- a/gettext-tools/tests/xgettext-c-ctxt-3 +++ b/gettext-tools/tests/xgettext-c-ctxt-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: extraction of contexts specified in GNOME glib syntax. diff --git a/gettext-tools/tests/xgettext-c-escape-1 b/gettext-tools/test= s/xgettext-c-escape-1 index 19670b130..88f6cf41f 100755 --- a/gettext-tools/tests/xgettext-c-escape-1 +++ b/gettext-tools/tests/xgettext-c-escape-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: mixing ANSI escapes, Unicode escapes, and bare diff --git a/gettext-tools/tests/xgettext-c-escape-2 b/gettext-tools/test= s/xgettext-c-escape-2 index 6ef7a1d43..589bca497 100755 --- a/gettext-tools/tests/xgettext-c-escape-2 +++ b/gettext-tools/tests/xgettext-c-escape-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: Concatenation of strings with escape sequences. diff --git a/gettext-tools/tests/xgettext-c-escape-3 b/gettext-tools/test= s/xgettext-c-escape-3 index 5f9967d57..15934d6ad 100755 --- a/gettext-tools/tests/xgettext-c-escape-3 +++ b/gettext-tools/tests/xgettext-c-escape-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: invalid NUL termination diff --git a/gettext-tools/tests/xgettext-c-format-1 b/gettext-tools/test= s/xgettext-c-format-1 index ffc0f1b54..39eddf5dc 100755 --- a/gettext-tools/tests/xgettext-c-format-1 +++ b/gettext-tools/tests/xgettext-c-format-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C support: valid but unlikely C format strings are _not_ marked a= s diff --git a/gettext-tools/tests/xgettext-c-format-2 b/gettext-tools/test= s/xgettext-c-format-2 index b1f92320f..cfe286439 100755 --- a/gettext-tools/tests/xgettext-c-format-2 +++ b/gettext-tools/tests/xgettext-c-format-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test recognition of ISO C 99 format string directives. diff --git a/gettext-tools/tests/xgettext-c-format-3 b/gettext-tools/test= s/xgettext-c-format-3 index e3a58d3d8..17ed824e3 100755 --- a/gettext-tools/tests/xgettext-c-format-3 +++ b/gettext-tools/tests/xgettext-c-format-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C++ support: test --flag that introduces qt-format. diff --git a/gettext-tools/tests/xgettext-c-format-4 b/gettext-tools/test= s/xgettext-c-format-4 index 021573abd..87bec65bd 100755 --- a/gettext-tools/tests/xgettext-c-format-4 +++ b/gettext-tools/tests/xgettext-c-format-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C++ support: test kde-format and format recognition heuristics. diff --git a/gettext-tools/tests/xgettext-c-format-5 b/gettext-tools/test= s/xgettext-c-format-5 index 7ba1185fc..06bd9be1c 100755 --- a/gettext-tools/tests/xgettext-c-format-5 +++ b/gettext-tools/tests/xgettext-c-format-5 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C++ support: test boost-format. diff --git a/gettext-tools/tests/xgettext-csharp-1 b/gettext-tools/tests/= xgettext-csharp-1 index cbb3c32f6..d04733f07 100755 --- a/gettext-tools/tests/xgettext-csharp-1 +++ b/gettext-tools/tests/xgettext-csharp-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Some tests for C# support diff --git a/gettext-tools/tests/xgettext-csharp-2 b/gettext-tools/tests/= xgettext-csharp-2 index 68b93cc14..e71b8d826 100755 --- a/gettext-tools/tests/xgettext-csharp-2 +++ b/gettext-tools/tests/xgettext-csharp-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # More tests for C# support: UTF-8 encoded source files diff --git a/gettext-tools/tests/xgettext-csharp-3 b/gettext-tools/tests/= xgettext-csharp-3 index a2b94fcd1..0642898c1 100755 --- a/gettext-tools/tests/xgettext-csharp-3 +++ b/gettext-tools/tests/xgettext-csharp-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # More tests for C# support: string syntax diff --git a/gettext-tools/tests/xgettext-csharp-4 b/gettext-tools/tests/= xgettext-csharp-4 index 1fc2ef0c6..0b2340eb7 100755 --- a/gettext-tools/tests/xgettext-csharp-4 +++ b/gettext-tools/tests/xgettext-csharp-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Tests for C# plural keyword support diff --git a/gettext-tools/tests/xgettext-csharp-5 b/gettext-tools/tests/= xgettext-csharp-5 index 2d6b0c41d..9fa33de67 100755 --- a/gettext-tools/tests/xgettext-csharp-5 +++ b/gettext-tools/tests/xgettext-csharp-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C# support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-csharp-6 b/gettext-tools/tests/= xgettext-csharp-6 index 83cf7e529..c0be66e5e 100755 --- a/gettext-tools/tests/xgettext-csharp-6 +++ b/gettext-tools/tests/xgettext-csharp-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C# support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-csharp-7 b/gettext-tools/tests/= xgettext-csharp-7 index 6cb31f20e..341b6e0e8 100755 --- a/gettext-tools/tests/xgettext-csharp-7 +++ b/gettext-tools/tests/xgettext-csharp-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C# support: extraction of contexts. diff --git a/gettext-tools/tests/xgettext-csharp-8 b/gettext-tools/tests/= xgettext-csharp-8 index d1c0df1e3..5f995e902 100755 --- a/gettext-tools/tests/xgettext-csharp-8 +++ b/gettext-tools/tests/xgettext-csharp-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C# support: Unicode character escape handling diff --git a/gettext-tools/tests/xgettext-desktop-1 b/gettext-tools/tests= /xgettext-desktop-1 index be859b4fe..b17f6b7da 100755 --- a/gettext-tools/tests/xgettext-desktop-1 +++ b/gettext-tools/tests/xgettext-desktop-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Desktop Entry support. diff --git a/gettext-tools/tests/xgettext-desktop-2 b/gettext-tools/tests= /xgettext-desktop-2 index 974e75b62..d443821df 100755 --- a/gettext-tools/tests/xgettext-desktop-2 +++ b/gettext-tools/tests/xgettext-desktop-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Icon handling in Desktop Entry support. diff --git a/gettext-tools/tests/xgettext-elisp-1 b/gettext-tools/tests/x= gettext-elisp-1 index ccb75bcf2..98ccfa12f 100755 --- a/gettext-tools/tests/xgettext-elisp-1 +++ b/gettext-tools/tests/xgettext-elisp-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test EmacsLisp support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-elisp-2 b/gettext-tools/tests/x= gettext-elisp-2 index e67811d44..af5d09030 100755 --- a/gettext-tools/tests/xgettext-elisp-2 +++ b/gettext-tools/tests/xgettext-elisp-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test EmacsLisp support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-glade-1 b/gettext-tools/tests/x= gettext-glade-1 index 66bab03ee..3ac67a2b6 100755 --- a/gettext-tools/tests/xgettext-glade-1 +++ b/gettext-tools/tests/xgettext-glade-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Glade support. diff --git a/gettext-tools/tests/xgettext-glade-2 b/gettext-tools/tests/x= gettext-glade-2 index d6856f2f5..e0eceeff2 100755 --- a/gettext-tools/tests/xgettext-glade-2 +++ b/gettext-tools/tests/xgettext-glade-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Glade support, in particular ISO-8859-1 to UTF-8 conversion diff --git a/gettext-tools/tests/xgettext-glade-3 b/gettext-tools/tests/x= gettext-glade-3 index 5e6288864..b18049f5d 100755 --- a/gettext-tools/tests/xgettext-glade-3 +++ b/gettext-tools/tests/xgettext-glade-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Glade 2 support. diff --git a/gettext-tools/tests/xgettext-glade-4 b/gettext-tools/tests/x= gettext-glade-4 index b9cbd3cba..21f7b2ea5 100755 --- a/gettext-tools/tests/xgettext-glade-4 +++ b/gettext-tools/tests/xgettext-glade-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Glade 2 support. diff --git a/gettext-tools/tests/xgettext-glade-5 b/gettext-tools/tests/x= gettext-glade-5 index 05719259b..602c28802 100755 --- a/gettext-tools/tests/xgettext-glade-5 +++ b/gettext-tools/tests/xgettext-glade-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Glade 2 support for msgctxt. diff --git a/gettext-tools/tests/xgettext-glade-6 b/gettext-tools/tests/x= gettext-glade-6 index 84d15ae9b..16ec206c5 100755 --- a/gettext-tools/tests/xgettext-glade-6 +++ b/gettext-tools/tests/xgettext-glade-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of GtkBuilder support. diff --git a/gettext-tools/tests/xgettext-glade-7 b/gettext-tools/tests/x= gettext-glade-7 index 5d751bf2a..689c6cfca 100755 --- a/gettext-tools/tests/xgettext-glade-7 +++ b/gettext-tools/tests/xgettext-glade-7 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of GtkBuilder support. diff --git a/gettext-tools/tests/xgettext-gsettings-1 b/gettext-tools/tes= ts/xgettext-gsettings-1 index 6befd96a4..3d09b22b0 100755 --- a/gettext-tools/tests/xgettext-gsettings-1 +++ b/gettext-tools/tests/xgettext-gsettings-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of GSettings support. diff --git a/gettext-tools/tests/xgettext-its-1 b/gettext-tools/tests/xge= ttext-its-1 index 22e9163ec..f7f48b6af 100755 --- a/gettext-tools/tests/xgettext-its-1 +++ b/gettext-tools/tests/xgettext-its-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of ITS support. diff --git a/gettext-tools/tests/xgettext-its-2 b/gettext-tools/tests/xge= ttext-its-2 index 2441bf793..a49c5177a 100755 --- a/gettext-tools/tests/xgettext-its-2 +++ b/gettext-tools/tests/xgettext-its-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of ITS search path. diff --git a/gettext-tools/tests/xgettext-java-1 b/gettext-tools/tests/xg= ettext-java-1 index 53fb5ee0f..d4e56f926 100755 --- a/gettext-tools/tests/xgettext-java-1 +++ b/gettext-tools/tests/xgettext-java-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src # # Some tests for java support diff --git a/gettext-tools/tests/xgettext-java-2 b/gettext-tools/tests/xg= ettext-java-2 index e84850a3a..1bff19e9b 100755 --- a/gettext-tools/tests/xgettext-java-2 +++ b/gettext-tools/tests/xgettext-java-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src # # More tests for java support diff --git a/gettext-tools/tests/xgettext-java-3 b/gettext-tools/tests/xg= ettext-java-3 index b10ccaa7e..65d195b12 100755 --- a/gettext-tools/tests/xgettext-java-3 +++ b/gettext-tools/tests/xgettext-java-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src # # Some tests for java plural keyword support diff --git a/gettext-tools/tests/xgettext-java-4 b/gettext-tools/tests/xg= ettext-java-4 index 321eadaeb..cf5ee7caa 100755 --- a/gettext-tools/tests/xgettext-java-4 +++ b/gettext-tools/tests/xgettext-java-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src # # Some tests for java plural keyword support diff --git a/gettext-tools/tests/xgettext-java-5 b/gettext-tools/tests/xg= ettext-java-5 index bd9587fbf..ff7ed95ee 100755 --- a/gettext-tools/tests/xgettext-java-5 +++ b/gettext-tools/tests/xgettext-java-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Java support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-java-6 b/gettext-tools/tests/xg= ettext-java-6 index 066cfca4e..6df7aadd1 100755 --- a/gettext-tools/tests/xgettext-java-6 +++ b/gettext-tools/tests/xgettext-java-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Java support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-java-7 b/gettext-tools/tests/xg= ettext-java-7 index b61680cf8..10e567a7d 100755 --- a/gettext-tools/tests/xgettext-java-7 +++ b/gettext-tools/tests/xgettext-java-7 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Java support: extraction of contexts. diff --git a/gettext-tools/tests/xgettext-javascript-1 b/gettext-tools/te= sts/xgettext-javascript-1 index 2ddebc20c..5f06dba42 100755 --- a/gettext-tools/tests/xgettext-javascript-1 +++ b/gettext-tools/tests/xgettext-javascript-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript support. diff --git a/gettext-tools/tests/xgettext-javascript-2 b/gettext-tools/te= sts/xgettext-javascript-2 index d3d642814..deed59eca 100755 --- a/gettext-tools/tests/xgettext-javascript-2 +++ b/gettext-tools/tests/xgettext-javascript-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript support. diff --git a/gettext-tools/tests/xgettext-javascript-3 b/gettext-tools/te= sts/xgettext-javascript-3 index 313cff041..80c5322cc 100755 --- a/gettext-tools/tests/xgettext-javascript-3 +++ b/gettext-tools/tests/xgettext-javascript-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript support. diff --git a/gettext-tools/tests/xgettext-javascript-4 b/gettext-tools/te= sts/xgettext-javascript-4 index a3eb91112..ae1715768 100755 --- a/gettext-tools/tests/xgettext-javascript-4 +++ b/gettext-tools/tests/xgettext-javascript-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript escape sequences in string literals. diff --git a/gettext-tools/tests/xgettext-javascript-5 b/gettext-tools/te= sts/xgettext-javascript-5 index 8cdb6ccdb..e6d1fd0ef 100755 --- a/gettext-tools/tests/xgettext-javascript-5 +++ b/gettext-tools/tests/xgettext-javascript-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript Unicode support. diff --git a/gettext-tools/tests/xgettext-javascript-6 b/gettext-tools/te= sts/xgettext-javascript-6 index 5193eba88..36d0c0727 100755 --- a/gettext-tools/tests/xgettext-javascript-6 +++ b/gettext-tools/tests/xgettext-javascript-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript E4X support. diff --git a/gettext-tools/tests/xgettext-javascript-7 b/gettext-tools/te= sts/xgettext-javascript-7 index c9d1f7eba..79e523b76 100755 --- a/gettext-tools/tests/xgettext-javascript-7 +++ b/gettext-tools/tests/xgettext-javascript-7 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of JavaScript template literal support. diff --git a/gettext-tools/tests/xgettext-librep-1 b/gettext-tools/tests/= xgettext-librep-1 index fa89f949d..b84279f9b 100755 --- a/gettext-tools/tests/xgettext-librep-1 +++ b/gettext-tools/tests/xgettext-librep-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test librep support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-librep-2 b/gettext-tools/tests/= xgettext-librep-2 index 7397a0829..1613b5085 100755 --- a/gettext-tools/tests/xgettext-librep-2 +++ b/gettext-tools/tests/xgettext-librep-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test librep support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-lisp-1 b/gettext-tools/tests/xg= ettext-lisp-1 index acbf3c5b7..dc508e517 100755 --- a/gettext-tools/tests/xgettext-lisp-1 +++ b/gettext-tools/tests/xgettext-lisp-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Lisp support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-lisp-2 b/gettext-tools/tests/xg= ettext-lisp-2 index 434336a16..5bcd548ce 100755 --- a/gettext-tools/tests/xgettext-lisp-2 +++ b/gettext-tools/tests/xgettext-lisp-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Lisp support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-lua-1 b/gettext-tools/tests/xge= ttext-lua-1 index 7e4715fbc..f6d25f4ea 100755 --- a/gettext-tools/tests/xgettext-lua-1 +++ b/gettext-tools/tests/xgettext-lua-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Lua support diff --git a/gettext-tools/tests/xgettext-lua-2 b/gettext-tools/tests/xge= ttext-lua-2 index c92cad4e3..1a8103cd7 100755 --- a/gettext-tools/tests/xgettext-lua-2 +++ b/gettext-tools/tests/xgettext-lua-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Lua comment syntax diff --git a/gettext-tools/tests/xgettext-objc-1 b/gettext-tools/tests/xg= ettext-objc-1 index 9d34c136f..90903adfa 100755 --- a/gettext-tools/tests/xgettext-objc-1 +++ b/gettext-tools/tests/xgettext-objc-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ObjectiveC extractor. diff --git a/gettext-tools/tests/xgettext-objc-2 b/gettext-tools/tests/xg= ettext-objc-2 index 21d174c20..cca983114 100755 --- a/gettext-tools/tests/xgettext-objc-2 +++ b/gettext-tools/tests/xgettext-objc-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test ObjectiveC support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-perl-1 b/gettext-tools/tests/xg= ettext-perl-1 index 16df33403..326147d29 100755 --- a/gettext-tools/tests/xgettext-perl-1 +++ b/gettext-tools/tests/xgettext-perl-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Perl support. diff --git a/gettext-tools/tests/xgettext-perl-2 b/gettext-tools/tests/xg= ettext-perl-2 index 060a23202..ab6bc2859 100755 --- a/gettext-tools/tests/xgettext-perl-2 +++ b/gettext-tools/tests/xgettext-perl-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Perl support with ISO-8859-1 encoded input. diff --git a/gettext-tools/tests/xgettext-perl-3 b/gettext-tools/tests/xg= ettext-perl-3 index 40af9b982..a9e62e133 100755 --- a/gettext-tools/tests/xgettext-perl-3 +++ b/gettext-tools/tests/xgettext-perl-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Perl support with UTF-8 encoded input. diff --git a/gettext-tools/tests/xgettext-perl-4 b/gettext-tools/tests/xg= ettext-perl-4 index 09b932261..0f1c9fd9d 100755 --- a/gettext-tools/tests/xgettext-perl-4 +++ b/gettext-tools/tests/xgettext-perl-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Tests for the general string extraction facilities of the Perl backend diff --git a/gettext-tools/tests/xgettext-perl-5 b/gettext-tools/tests/xg= ettext-perl-5 index cc83907ae..5c573e636 100755 --- a/gettext-tools/tests/xgettext-perl-5 +++ b/gettext-tools/tests/xgettext-perl-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Perl support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-perl-6 b/gettext-tools/tests/xg= ettext-perl-6 index e0abad60b..232e06e34 100755 --- a/gettext-tools/tests/xgettext-perl-6 +++ b/gettext-tools/tests/xgettext-perl-6 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test whether the right number of arguments are extracted. diff --git a/gettext-tools/tests/xgettext-perl-7 b/gettext-tools/tests/xg= ettext-perl-7 index 6918587b4..a375d6865 100755 --- a/gettext-tools/tests/xgettext-perl-7 +++ b/gettext-tools/tests/xgettext-perl-7 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Perl support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-perl-8 b/gettext-tools/tests/xg= ettext-perl-8 index db93b84f3..3bb948ede 100755 --- a/gettext-tools/tests/xgettext-perl-8 +++ b/gettext-tools/tests/xgettext-perl-8 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # The slash (/) and the question mark (?) serve a double-purpose in Perl. diff --git a/gettext-tools/tests/xgettext-php-1 b/gettext-tools/tests/xge= ttext-php-1 index 09338ae1c..87e0a20ed 100755 --- a/gettext-tools/tests/xgettext-php-1 +++ b/gettext-tools/tests/xgettext-php-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test PHP support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-php-2 b/gettext-tools/tests/xge= ttext-php-2 index 3eb6a92ea..7ed8ec9d9 100755 --- a/gettext-tools/tests/xgettext-php-2 +++ b/gettext-tools/tests/xgettext-php-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test PHP support: here documents. diff --git a/gettext-tools/tests/xgettext-php-3 b/gettext-tools/tests/xge= ttext-php-3 index 056139536..147a513a9 100755 --- a/gettext-tools/tests/xgettext-php-3 +++ b/gettext-tools/tests/xgettext-php-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test PHP support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-php-4 b/gettext-tools/tests/xge= ttext-php-4 index 842ad31ad..315360ca0 100755 --- a/gettext-tools/tests/xgettext-php-4 +++ b/gettext-tools/tests/xgettext-php-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test PHP support: string concatenation. diff --git a/gettext-tools/tests/xgettext-po-1 b/gettext-tools/tests/xget= text-po-1 index 1d2213608..3ae62066f 100755 --- a/gettext-tools/tests/xgettext-po-1 +++ b/gettext-tools/tests/xgettext-po-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C, C++, PO extractors. diff --git a/gettext-tools/tests/xgettext-po-2 b/gettext-tools/tests/xget= text-po-2 index c4bd9d040..6d439b51b 100755 --- a/gettext-tools/tests/xgettext-po-2 +++ b/gettext-tools/tests/xgettext-po-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test PO extractors with multiple input files. diff --git a/gettext-tools/tests/xgettext-properties-1 b/gettext-tools/te= sts/xgettext-properties-1 index 1261944a1..712a2ca71 100755 --- a/gettext-tools/tests/xgettext-properties-1 +++ b/gettext-tools/tests/xgettext-properties-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test C, C++, JavaProperties extractors. diff --git a/gettext-tools/tests/xgettext-properties-2 b/gettext-tools/te= sts/xgettext-properties-2 index 86c2d8e7c..047f54d48 100755 --- a/gettext-tools/tests/xgettext-properties-2 +++ b/gettext-tools/tests/xgettext-properties-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test JavaProperties extractor with escaped ASCII input. diff --git a/gettext-tools/tests/xgettext-properties-3 b/gettext-tools/te= sts/xgettext-properties-3 index 2b73cab27..8fafc489d 100755 --- a/gettext-tools/tests/xgettext-properties-3 +++ b/gettext-tools/tests/xgettext-properties-3 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test JavaProperties extractor with ISO-8859-1 input. diff --git a/gettext-tools/tests/xgettext-properties-4 b/gettext-tools/te= sts/xgettext-properties-4 index 782fea5ff..8a85dec66 100755 --- a/gettext-tools/tests/xgettext-properties-4 +++ b/gettext-tools/tests/xgettext-properties-4 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test JavaProperties extractor with UTF-8 input. diff --git a/gettext-tools/tests/xgettext-python-1 b/gettext-tools/tests/= xgettext-python-1 index 4901c71e3..2b96cec0a 100755 --- a/gettext-tools/tests/xgettext-python-1 +++ b/gettext-tools/tests/xgettext-python-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Python support. diff --git a/gettext-tools/tests/xgettext-python-2 b/gettext-tools/tests/= xgettext-python-2 index 2b3d739e0..a20ed3325 100755 --- a/gettext-tools/tests/xgettext-python-2 +++ b/gettext-tools/tests/xgettext-python-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Python support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-python-3 b/gettext-tools/tests/= xgettext-python-3 index 1e13b5793..9e786cf4e 100755 --- a/gettext-tools/tests/xgettext-python-3 +++ b/gettext-tools/tests/xgettext-python-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Python support: --from-code option and encoding recognition. diff --git a/gettext-tools/tests/xgettext-python-4 b/gettext-tools/tests/= xgettext-python-4 index e1f5cd5f3..5bf4119c5 100755 --- a/gettext-tools/tests/xgettext-python-4 +++ b/gettext-tools/tests/xgettext-python-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Python support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-rst-1 b/gettext-tools/tests/xge= ttext-rst-1 index e7185807d..2cf558e6a 100755 --- a/gettext-tools/tests/xgettext-rst-1 +++ b/gettext-tools/tests/xgettext-rst-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test extractor of Free Pascal .rst files. diff --git a/gettext-tools/tests/xgettext-rst-2 b/gettext-tools/tests/xge= ttext-rst-2 index cee06ded9..781db7aca 100755 --- a/gettext-tools/tests/xgettext-rst-2 +++ b/gettext-tools/tests/xgettext-rst-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test extractor of Free Pascal .rsj files. diff --git a/gettext-tools/tests/xgettext-scheme-1 b/gettext-tools/tests/= xgettext-scheme-1 index 576bb5166..9e929b8b3 100755 --- a/gettext-tools/tests/xgettext-scheme-1 +++ b/gettext-tools/tests/xgettext-scheme-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Scheme support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-scheme-2 b/gettext-tools/tests/= xgettext-scheme-2 index 8c7fbb811..d37e0436d 100755 --- a/gettext-tools/tests/xgettext-scheme-2 +++ b/gettext-tools/tests/xgettext-scheme-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Scheme support: strings outside any function call. diff --git a/gettext-tools/tests/xgettext-scheme-3 b/gettext-tools/tests/= xgettext-scheme-3 index fe28ebbc7..1dd59b11b 100755 --- a/gettext-tools/tests/xgettext-scheme-3 +++ b/gettext-tools/tests/xgettext-scheme-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Scheme support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-scheme-4 b/gettext-tools/tests/= xgettext-scheme-4 index 1851a46b1..1506173ed 100755 --- a/gettext-tools/tests/xgettext-scheme-4 +++ b/gettext-tools/tests/xgettext-scheme-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Scheme support: GIMP script-fu extension _"..." diff --git a/gettext-tools/tests/xgettext-sh-1 b/gettext-tools/tests/xget= text-sh-1 index b7de75449..e6b2276d0 100755 --- a/gettext-tools/tests/xgettext-sh-1 +++ b/gettext-tools/tests/xgettext-sh-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Shell support. diff --git a/gettext-tools/tests/xgettext-sh-2 b/gettext-tools/tests/xget= text-sh-2 index a4b7e8d0b..49cc6808e 100755 --- a/gettext-tools/tests/xgettext-sh-2 +++ b/gettext-tools/tests/xgettext-sh-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Shell support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-sh-3 b/gettext-tools/tests/xget= text-sh-3 index 7f70b95a9..5fa149982 100755 --- a/gettext-tools/tests/xgettext-sh-3 +++ b/gettext-tools/tests/xgettext-sh-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Shell support: backslashed double-quotes inside single-quotes diff --git a/gettext-tools/tests/xgettext-sh-4 b/gettext-tools/tests/xget= text-sh-4 index dfd8399af..13d4d8fb3 100755 --- a/gettext-tools/tests/xgettext-sh-4 +++ b/gettext-tools/tests/xgettext-sh-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Shell support: obsolete bash $"..." syntax. diff --git a/gettext-tools/tests/xgettext-sh-5 b/gettext-tools/tests/xget= text-sh-5 index a5937b024..04fd7e610 100755 --- a/gettext-tools/tests/xgettext-sh-5 +++ b/gettext-tools/tests/xgettext-sh-5 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Shell support: bash $(...) syntax. diff --git a/gettext-tools/tests/xgettext-sh-6 b/gettext-tools/tests/xget= text-sh-6 index 656781df7..37abc5abb 100755 --- a/gettext-tools/tests/xgettext-sh-6 +++ b/gettext-tools/tests/xgettext-sh-6 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Shell support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-sh-7 b/gettext-tools/tests/xget= text-sh-7 index 738803e9a..32441de3a 100755 --- a/gettext-tools/tests/xgettext-sh-7 +++ b/gettext-tools/tests/xgettext-sh-7 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Shell support: assignment syntax. diff --git a/gettext-tools/tests/xgettext-smalltalk-1 b/gettext-tools/tes= ts/xgettext-smalltalk-1 index b94938025..237d61a42 100755 --- a/gettext-tools/tests/xgettext-smalltalk-1 +++ b/gettext-tools/tests/xgettext-smalltalk-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Smalltalk support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-smalltalk-2 b/gettext-tools/tes= ts/xgettext-smalltalk-2 index 01d61fa98..97535ff22 100755 --- a/gettext-tools/tests/xgettext-smalltalk-2 +++ b/gettext-tools/tests/xgettext-smalltalk-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Smalltalk support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-stringtable-1 b/gettext-tools/t= ests/xgettext-stringtable-1 index bbd8074a7..28837da00 100755 --- a/gettext-tools/tests/xgettext-stringtable-1 +++ b/gettext-tools/tests/xgettext-stringtable-1 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test extractor of NeXTstep/GNUstep .strings files. diff --git a/gettext-tools/tests/xgettext-tcl-1 b/gettext-tools/tests/xge= ttext-tcl-1 index 5a248cd74..14c13f89f 100755 --- a/gettext-tools/tests/xgettext-tcl-1 +++ b/gettext-tools/tests/xgettext-tcl-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Tcl support. diff --git a/gettext-tools/tests/xgettext-tcl-2 b/gettext-tools/tests/xge= ttext-tcl-2 index bbacdf8ad..76bab4a41 100755 --- a/gettext-tools/tests/xgettext-tcl-2 +++ b/gettext-tools/tests/xgettext-tcl-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Tcl support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-tcl-3 b/gettext-tools/tests/xge= ttext-tcl-3 index fd60c7437..8dcf359b4 100755 --- a/gettext-tools/tests/xgettext-tcl-3 +++ b/gettext-tools/tests/xgettext-tcl-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Tcl support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-tcl-4 b/gettext-tools/tests/xge= ttext-tcl-4 index d1582f6f9..809a20c27 100755 --- a/gettext-tools/tests/xgettext-tcl-4 +++ b/gettext-tools/tests/xgettext-tcl-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Tcl support: escape sequences. diff --git a/gettext-tools/tests/xgettext-vala-1 b/gettext-tools/tests/xg= ettext-vala-1 index a3bb0aa8b..af5d66783 100755 --- a/gettext-tools/tests/xgettext-vala-1 +++ b/gettext-tools/tests/xgettext-vala-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test of Vala support. diff --git a/gettext-tools/tests/xgettext-vala-2 b/gettext-tools/tests/xg= ettext-vala-2 index 268e53567..5f9bfb050 100755 --- a/gettext-tools/tests/xgettext-vala-2 +++ b/gettext-tools/tests/xgettext-vala-2 @@ -1,4 +1,12 @@ #! /bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test Vala support: non-ASCII extracted comments. diff --git a/gettext-tools/tests/xgettext-ycp-1 b/gettext-tools/tests/xge= ttext-ycp-1 index 72eef7cc2..a0b36f3a7 100755 --- a/gettext-tools/tests/xgettext-ycp-1 +++ b/gettext-tools/tests/xgettext-ycp-1 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src # # Plural test for YCP diff --git a/gettext-tools/tests/xgettext-ycp-2 b/gettext-tools/tests/xge= ttext-ycp-2 index b8bb5a7e0..389693350 100755 --- a/gettext-tools/tests/xgettext-ycp-2 +++ b/gettext-tools/tests/xgettext-ycp-2 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test YCP support: --add-comments option. diff --git a/gettext-tools/tests/xgettext-ycp-3 b/gettext-tools/tests/xge= ttext-ycp-3 index bb0f014b3..449fe24ce 100755 --- a/gettext-tools/tests/xgettext-ycp-3 +++ b/gettext-tools/tests/xgettext-ycp-3 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test YCP support: string literal concatenation. diff --git a/gettext-tools/tests/xgettext-ycp-4 b/gettext-tools/tests/xge= ttext-ycp-4 index d9fb173c5..c591099af 100755 --- a/gettext-tools/tests/xgettext-ycp-4 +++ b/gettext-tools/tests/xgettext-ycp-4 @@ -1,4 +1,12 @@ #!/bin/sh + +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + . "${srcdir=3D.}/init.sh"; path_prepend_ . ../src =20 # Test YCP support: --add-comments option. diff --git a/libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh b= /libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh index a3a2b12ec..fc21dfab9 100755 --- a/libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh +++ b/libtextstyle/gnulib-local/tests/test-term-ostream-xterm.sh @@ -1,5 +1,12 @@ #!/bin/sh =20 +## Copyright (C) 1995-2020 Free Software Foundation, Inc. +## +## Copying and distribution of this file, with or without modification, +## are permitted in any medium without royalty provided the copyright +## notice and this notice are preserved. This file is offered as-is, +## without any warranty. + tmpfiles=3D"" trap 'rm -fr $tmpfiles' 1 2 3 15 =20 --=20 2.20.1 From MAILER-DAEMON Tue Jan 21 10:55:41 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1itvsS-0002xB-Tv for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 10:55:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60197) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itvsN-0002jo-Hr for bug-gettext@gnu.org; Tue, 21 Jan 2020 10:55:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itvsJ-0002s7-AX; Tue, 21 Jan 2020 10:55:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58143) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itvsF-0003Cb-Kd for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 10:55:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itvsC-0002pA-7E for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 10:55:27 -0500 Received: from mx-relay73-hz1.antispameurope.com ([94.100.132.237]:57976) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1itvsB-0002mX-U0 for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 10:55:24 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay73-hz1.antispameurope.com; Tue, 21 Jan 2020 16:55:18 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00LFtFKl006822 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2020 16:55:16 +0100 Received: from hahn.fokus.fraunhofer.de (10.147.9.208) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 21 Jan 2020 16:55:15 +0100 Received: from rigel (10.147.9.171) by hahn.fokus.fraunhofer.de (10.147.9.208) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Tue, 21 Jan 2020 16:55:09 +0100 Date: Tue, 21 Jan 2020 16:55:09 +0100 From: Joerg Schilling To: , CC: , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e271edd.sQ7IDsJrlQQSh851%Joerg.Schilling@fokus.fraunhofer.de> References: <5b6d7873.ZJ4ogDdt8ay2LKgk%Joerg.Schilling@fokus.fraunhofer.de> <1666759.e1GnsyipgA@omega> In-Reply-To: <1666759.e1GnsyipgA@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 21.01.2020 11:48:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay73-hz1.antispameurope.com with 58F6D70325D X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.3054 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.132.237 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 15:55:39 -0000 Bruno Haible wrote: > Joerg Schilling wrote: > > From looking at the current manuals available on Linux systems, I propose to > > start with the manual pages from OpenSolaris since these manual pages seem to > > be closer from being complete enough for the POSIX standard. > > The text from LI18NUX [1] and LSB [2] would be a better starting point. > > [1] http://web.archive.org/web/20030608111824/http://www.li18nux.org:80/li18nux2k/ Hi, are there plans to make GNU gettext(1) complatible to [1]? Background: The historic gettext from SunOS did expand escape sequences by default since 1989 and did not have any options at that time. So it is obvious that this is the default behavior. [1] describes the same behavior for the no-option case, but GNU gettext(1) does not expand escape sequences unless the option -e has been specified. This behavior of GNU gettext(1) is in conflict with the definition in [1], while Solaris gettext(1) is compliant and disables escape sequence expansion only with the -s option (unless -e is used at the seme time). So Solaris behaves like documented in [1] and in the Solaris man pages, while Linux does not. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Tue Jan 21 13:24:30 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ityCT-0006FI-VF for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 13:24:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54217) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ityCO-0006F4-LR for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:24:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ityCK-0006Lv-FT; Tue, 21 Jan 2020 13:24:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52170) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ityCK-00005W-6i for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:24:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ityCG-0006Iz-OM for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:24:20 -0500 Received: from mx-relay69-hz1.antispameurope.com ([94.100.132.235]:35751) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ityCG-0006Hf-Fc for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:24:16 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay69-hz1.antispameurope.com; Tue, 21 Jan 2020 19:24:12 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00LIOAfE009801 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 Jan 2020 19:24:10 +0100 Received: from heisenberg.fokus.fraunhofer.de (10.147.9.211) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 21 Jan 2020 19:24:00 +0100 Received: from rigel (10.147.9.171) by heisenberg.fokus.fraunhofer.de (10.147.9.211) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Tue, 21 Jan 2020 19:23:53 +0100 Date: Tue, 21 Jan 2020 19:23:53 +0100 From: Joerg Schilling To: , , CC: , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e2741b9.766hBcxMX6LAlqLE%Joerg.Schilling@fokus.fraunhofer.de> References: <1117492877.2022361.1579629716808.ref@mail.yahoo.com> <1117492877.2022361.1579629716808@mail.yahoo.com> In-Reply-To: <1117492877.2022361.1579629716808@mail.yahoo.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 21.01.2020 15:26:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay69-hz1.antispameurope.com with 22998E0268 X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.2299 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.132.235 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 18:24:28 -0000 Shware Systems wrote: > My two cents, I'm more in favor of requiring the -e ala GNU, as a byte stream that may be an escape for the charset of one locale may be plain text in another locale, especially when the encoding of the escape char itself differs. This can complicate editing data files when a pot file is a commented template for non-comment equivalences in po files, as an example workflow. Most editors I've used only permit one charset per file, so such a conflict would show in these. To avoid this I believe would require the standard placing more restrictions on charsets locales may use than now, to ensure portability, but this is not part of the proposal. POSIX does not invent things but rather standardizes existing behavior and Solaris behaves the same way since 30 years, while Linux does not follow it's own definitions. I am against changing the behavior. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Tue Jan 21 13:26:57 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ityEr-0006iU-AS for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 13:26:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54503) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ityEo-0006iO-Uh for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:26:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ityEn-000860-J1 for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:26:54 -0500 Received: from smtp.lrde.epita.fr ([163.5.55.2]:42176) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ityEn-00080V-6J for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:26:53 -0500 Received: from [172.20.10.14] (unknown [37.172.153.59]) by smtp.lrde.epita.fr (Postfix) with ESMTPSA id 7CE0F42EA4 for ; Tue, 21 Jan 2020 19:26:43 +0100 (CET) From: Akim Demaille Content-Type: multipart/mixed; boundary="Apple-Mail=_B390A859-E7C2-4AD0-9E33-48063FA71C4F" Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: libtextstyle 0.8: confused with classes that are suffixes of others Message-Id: Date: Tue, 21 Jan 2020 19:26:41 +0100 To: bug-gettext@gnu.org X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 163.5.55.2 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 18:26:56 -0000 --Apple-Mail=_B390A859-E7C2-4AD0-9E33-48063FA71C4F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii libtextstyle confuses class names when one is a suffix of another. To reproduce it, take the hello example from libtextstyle 0.8, and = replace with the attached files that use classes bar and foobar. And = see that Maria and Fred are printed in blue. Note that it matters that the class foobar is defined before the class = bar. In the other sense, the problem does not appear. So libcroco = seems to be the culprit. Cheers! --Apple-Mail=_B390A859-E7C2-4AD0-9E33-48063FA71C4F Content-Disposition: attachment; filename=hello-default.css Content-Type: text/css; x-unix-mode=0644; name="hello-default.css" Content-Transfer-Encoding: 7bit /* This file is in the public domain. Styling rules for the color-hello example. */ .name { text-decoration : underline; } .boy-name { background-color : rgb(123,201,249); } .girl-name { background-color : rgb(250,149,158); } .foobar { background-color : rgb(250,149,158); } .bar { background-color : rgb(123,201,249); } --Apple-Mail=_B390A859-E7C2-4AD0-9E33-48063FA71C4F Content-Disposition: attachment; filename=hello.c Content-Type: application/octet-stream; x-unix-mode=0644; name="hello.c" Content-Transfer-Encoding: 7bit /* Example program for GNU libtextstyle. Copyright (C) 2018-2019 Free Software Foundation, Inc. Written by Bruno Haible , 2018. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ /* Source code of the C program. */ #include #include #include #include #include #include #include #include "names.c" /* Returns the record for a given first name, or NULL if not found. */ static const struct first_name * find_first_name (const char *name) { size_t i = 0; size_t j = sizeof (names) / sizeof (names[0]); /* Loop invariants: 1. j > i, 2. If name is in the table, then at an index >= i, < j. */ while (j - i > 1) { size_t k = i + (j - i) / 2; if (strcmp (names[k].name, name) <= 0) i = k; else j = k; } /* Here j = i + 1. */ if (strcmp (names[i].name, name) == 0) return &names[i]; else return NULL; } enum sex { UNKNOWN, MALE, FEMALE }; /* Returns the known sex for a given first name, or UNKNOWN if unknown. */ static enum sex classify_first_name (const char *name) { const struct first_name *p = find_first_name (name); if (p) { if (p->p_boy >= 0.99f) return MALE; if (p->p_boy <= 0.01f) return FEMALE; } return UNKNOWN; } /* Returns the full name of the current user, or NULL if unknown. */ static const char * get_fullname (void) { const char *name = getlogin (); if (name != NULL) { struct passwd *pwd = getpwnam (name); if (pwd != NULL) { const char *gecos = pwd->pw_gecos; if (gecos != NULL) { /* Use the part before the first comma. See . */ const char *comma = strchr (gecos, ','); if (comma != NULL) { char *part = (char *) malloc (comma - gecos + 1); if (part != NULL) { memcpy (part, gecos, comma - gecos); part[comma - gecos] = '\0'; return part; } } else return gecos; } } } return NULL; } int main (int argc, char *argv[]) { const char *program_name = argv[0]; const char *fullname = NULL; int i; /* Parse the command-line arguments. */ for (i = 1; i < argc; i++) { const char *arg = argv[i]; if (strncmp (arg, "--color=", 8) == 0) handle_color_option (arg + 8); else if (strncmp (arg, "--style=", 8) == 0) handle_style_option (arg + 8); else if (arg[0] == '-') { fprintf (stderr, "%s: invalid argument: %s\n", program_name, arg); exit (1); } else fullname = arg; } /* Handle the --color=test special argument. */ if (color_test_mode) { print_color_test (); exit (0); } if (color_mode == color_yes || (color_mode == color_tty && isatty (STDOUT_FILENO))) { /* Find the style file. */ style_file_prepare ("HELLO_STYLE", "HELLO_STYLESDIR", STYLESDIR, "hello-default.css"); /* As a fallback, use the default in the current directory. */ { struct stat statbuf; if (style_file_name == NULL || stat (style_file_name, &statbuf) < 0) style_file_name = "hello-default.css"; } } else /* No styling. */ style_file_name = NULL; /* Create a terminal output stream that uses this style file. */ styled_ostream_t stream = styled_ostream_create (STDOUT_FILENO, "(stdout)", TTYCTL_AUTO, style_file_name); /* Determine the full name of the user. */ if (fullname == NULL) fullname = get_fullname (); if (fullname != NULL) { ostream_write_str (stream, "Hello "); /* Associate the entire full name in CSS class 'name'. */ styled_ostream_begin_use_class (stream, "name"); const char *fullname_end = fullname + strlen (fullname); /* Determine the extent of the first name in the full name. */ const char *firstname_start; const char *firstname_end; { /* The full name can be of the form "FAMILYNAME, FIRSTNAME". */ const char *comma = strchr (fullname, ','); if (comma != NULL) { firstname_start = comma + 1; while (*firstname_start == ' ') firstname_start++; firstname_end = fullname_end; } else { /* Or it can be of the form "X. FIRSTNAME Y. FAMILYNAME". */ firstname_start = fullname; for (;;) { const char *space = strchr (firstname_start, ' '); if (space == NULL) { firstname_end = fullname_end; break; } if (space == firstname_start || space[-1] == '.') firstname_start = space + 1; else { firstname_end = space; break; } } } while (firstname_end > firstname_start && firstname_end[-1] == ' ') firstname_end--; } /* Output the part of the full name before the first name. */ ostream_write_mem (stream, fullname, firstname_start - fullname); /* Guess the sex, based on the first name. */ char *firstname = (char *) malloc (firstname_end - firstname_start + 1); memcpy (firstname, firstname_start, firstname_end - firstname_start); firstname[firstname_end - firstname_start] = '\0'; enum sex guessed_sex = classify_first_name (firstname); free (firstname); /* Associate the first name with the appropriate CSS class. */ switch (guessed_sex) { case MALE: styled_ostream_begin_use_class (stream, "bar"); break; case FEMALE: styled_ostream_begin_use_class (stream, "foobar"); break; default: break; } /* Output the first name. */ ostream_write_mem (stream, firstname_start, firstname_end - firstname_start); /* Terminate the first name. */ switch (guessed_sex) { case MALE: styled_ostream_end_use_class (stream, "bar"); break; case FEMALE: styled_ostream_end_use_class (stream, "foobar"); break; default: break; } /* Output the part of the full name after the first name. */ ostream_write_mem (stream, firstname_end, fullname_end - firstname_end); /* Terminate the name. */ styled_ostream_end_use_class (stream, "name"); ostream_write_str (stream, "!\n"); } else ostream_write_str (stream, "Hello!\n"); /* Flush and close the terminal stream. */ styled_ostream_free (stream); return 0; } --Apple-Mail=_B390A859-E7C2-4AD0-9E33-48063FA71C4F-- From MAILER-DAEMON Tue Jan 21 13:35:58 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ityNa-0008NA-R3 for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 13:35:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51306) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itxqo-0001fD-TM for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:02:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itxqn-0003Z4-QE; Tue, 21 Jan 2020 13:02:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49247) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itxqm-0004Nt-Ko for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:02:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itxqk-0003UT-Rl for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:02:04 -0500 Received: from sonic314-21.consmr.mail.ne1.yahoo.com ([66.163.189.147]:45099) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itxqk-0003Ni-0Q for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:02:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1579629719; bh=ak6UdORs6MHtF7VL8GPTubvUiO/S7TDtRqaZH76Fojg=; h=Date:From:To:Cc:Subject:References:From:Subject; b=cYqFlukPjCZ9yH26i97TmqYSzohtpcXpfPDYJ6P2fc/MPZh4c05BfBGIf6UrN6VBiixk6/JbTbovfVnRegJdKUHaNitkeopLOCJfgaolMmpX0bza1CMQN7kEt6StL4OxxodB0k0eqA8Gw305L1NQSJVUEjPlZeYl9Zz/QkhBQ6H0vBVkjIBk45X3MCwxxrSVhQpu3rUHzlcAFGd/5vCbLthSFU1agyhP6r8AENGlLa5QOxuwpbuwgYvybh1lDXZ1+WbFy0pfKuMvn/dJfd83HrgKVUBr0yrHbr2uv+Qvph9loC8+0Ii1VJ49oRbcPGVIgXRbpqJBPs9IPeMQT8fiAQ== X-YMail-OSG: IGvxSWIVM1mCogDjW9vKzNzNDlV82Sa47hB0ghx9MIHVQr3qVYeL0gvl5JIACCy y3Uv9jD97a_Nrag1PcI69A6oib.vY6noR2zS8Zc_YkPvaS9azq9JlHeIOvC9ykFd0yNASF6mlVBt 7IZo6n4.8_wAPnnCIMrfOTwp4AO7iqcOZLHqZP4ZSM.5W5JFnr1WYlJqu.oSWEne8I6sx2Zqat_f 1_6ArszHfDtVkzBqGs7RMXE7CkUVHo9EJ5djY7wYgZ7suUJM7.0aMNq28LMAHZFx2hdRYtshXlc8 zgFjOLjng34gTIRQ1gTQ8fZViTPeW107BJzmLQ16Kyx9hWpOslkPeDBr9YjFu5arlZp1VM5tLfIu r__nquXWhtKaBKpamRFw.R9aKGVVIc_UwousC5rVLY.76jz6ebEulPjdBckku.RZceHV1S1gb2NI hdCZbMRzpX1actUbjK5tPxpVif5e7bjcXUe.oLOgDkNwRHGzZxD5YtHMjKyDXR_pEzU1LG0r6Abu TOLXlh2QOqBrlqjzAnO0hbejAROeWurJ5gyg6r55w86oh8SQ2aCkbxeUldHOAeUDw6a12k3wopm0 8Mhg42APl0IBOTShNmi2noIamCK1j3K5iY3HiuwPLQC_UFDl2Q2CfeEPBbAFN9QHbycLrMvIWTNV xLXxrpLTJsRjwgiLsiMYwm6ezUcJfIHrKKxhrWwQu0FX2HT_JW6tLIo78zjiw0y64y7xklY3aSXs Lgn4ij5bfWQC_4ucaK2is2RWdZVUkavIO2F1zN1GWcDW09nUkPiNgHkcL.Aig1.FcmGOIQhkgzTY JcV4ptQUAqR7S5N9_RsXgfwM2zRtnZlBJAIRmfc7N56yUjZwW9ikh08NBeMUCduamTe2BlX6LQ44 s6USyx..0XD8dt3FrBX.2U4KUYMUq3I.bgfLjZIVsbxR7a2XMWZ.BBfVHtWstVnYXDhXDOi0J8de 76V8z_SsLq0.t21DFP2dh6v1nX2e9SQPzTof.jU42n0aLlufzzBKQaHjW_koPZ9_v4laf3Dms.rk 96Hak_vv3a5qMUkY8K7_Rm7mZRPF57egR6yupZdoASIlTdrhFedkrJYQC56IPyqcxC824VWfPlEI n7Mh8.2GR05phHUAE11js.xzbNmnl.EEueKszFJi9D1SzrUwqtHr7dXBx2DclttEsJzF6Afs5_5X 70jS4IFLOUjgOaiswauZO1xCJ5Q4h.21_hsLaHQPvHfFpY8qNt0lFTjHFugAWqls1PmwtMj_OM.0 m3o9V7pjwwRkjvAUGJ9AuY7au6DJiqHR2yRVJycL1k_mK1g8F.zi7xqgffCFj0P8- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Jan 2020 18:01:59 +0000 Date: Tue, 21 Jan 2020 18:01:56 +0000 (UTC) From: Shware Systems To: Joerg.Schilling@fokus.fraunhofer.de, eblake@redhat.com, bruno@clisp.org Cc: bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Message-ID: <1117492877.2022361.1579629716808@mail.yahoo.com> Subject: Re: Coordination on standardizing gettext() in future POSIX MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2022360_266911051.1579629716807" References: <1117492877.2022361.1579629716808.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15077 aolandroid Mozilla/5.0 (Linux; Android 9; LM-G850 Build/PKQ1.190522.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.116 Mobile Safari/537.36 AolApp/5.11.1.1.2401 Content-Length: 6967 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.189.147 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Tue, 21 Jan 2020 13:35:56 -0500 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 18:02:08 -0000 ------=_Part_2022360_266911051.1579629716807 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable My two cents, I'm more in favor of requiring the -e ala GNU, as a byte stre= am that may be an escape for the charset of one locale may be plain text in= another locale, especially when the encoding of the escape char itself dif= fers. This can complicate editing data files when a pot file is a commented= template for non-comment equivalences in po files, as an example workflow.= Most editors I've used only permit one charset per file, so such a conflic= t would show in these. To avoid this I believe would require the standard p= lacing more restrictions on charsets locales may use than now, to ensure po= rtability, but this is not part of the proposal. On Tuesday, January 21, 2020 Joerg Schilling wrote: Bruno Haible wrote: > Joerg Schilling wrote: > > From looking at the current manuals available on Linux systems, I propo= se to=20 > > start with the manual pages from OpenSolaris since these manual pages s= eem to=20 > > be closer from being complete enough for the POSIX standard. > > The text from LI18NUX [1] and LSB [2] would be a better starting point. > > [1] http://web.archive.org/web/20030608111824/http://www.li18nux.org:80/l= i18nux2k/ Hi, are there plans to make GNU gettext(1) complatible to [1]? Background: The historic gettext from SunOS did expand escape sequences by default sinc= e=20 1989 and did not have any options at that time. So it is obvious that this = is=20 the default behavior. [1] describes the same behavior for the no-option case, but GNU gettext(1) = does=20 not expand escape sequences unless the option -e has been specified. This behavior of GNU gettext(1) is in conflict with the definition in [1],= =20 while Solaris gettext(1) is compliant and disables escape sequence expansio= n=20 only with the -s option (unless -e is used at the seme time). So Solaris behaves like documented in [1] and in the Solaris man pages, whi= le=20 Linux does not. J=C3=B6rg --=20 EMail:joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin =C2=A0 =C2=A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schil= y.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files= /' ------=_Part_2022360_266911051.1579629716807 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

My two cents, I'm more in favor of requiring the -e ala GNU,= as a byte stream that may be an escape for the charset of one locale may b= e plain text in another locale, especially when the encoding of the escape = char itself differs. This can complicate editing data files when a pot file= is a commented template for non-comment equivalences in po files, as an ex= ample workflow. Most editors I've used only permit one charset per file, so= such a conflict would show in these. To avoid this I believe would require= the standard placing more restrictions on charsets locales may use than no= w, to ensure portability, but this is not part of the proposal.




On Tue= sday, January 21, 2020 Joerg Schilling <J= oerg.Schilling@fokus.fraunhofer.de> wrote:

Bruno Haible <bruno@clisp.org> wrote:

> Joerg Schilling wrote:
> > From looking at the current manuals available on Linux= systems, I propose to
> > start with the = manual pages from OpenSolaris since these manual pages seem to
> > be closer from being complete enough for the POSIX= standard.
>
> Th= e text from LI18NUX [1] and LSB [2] would be a better starting point.
>

Hi,

are there plan= s to make GNU gettext(1) complatible to [1]?

=
Background:

The historic gettext from SunOS did expand escape sequences by= default since
1989 and did not have any options= at that time. So it is obvious that this is
the= default behavior.

[1]= describes the same behavior for the no-option case, but GNU gettext(1) doe= s
not expand escape sequences unless the option = -e has been specified.

This behavior of GNU gettext(1) is in conflict with the definition in [1],=
while Solaris gettext(1) is compliant and disab= les escape sequence expansion
only with the -s o= ption (unless -e is used at the seme time).

<= /div>
So Solaris behaves like documented in [1] and in the = Solaris man pages, while
Linux does not.




J=C3=B6rg

--
<= /div>
EMail:joerg@schily.net        &= nbsp;           (home) J=C3=B6rg Schilling D-13353= Berlin

------=_Part_2022360_266911051.1579629716807-- From MAILER-DAEMON Tue Jan 21 13:54:06 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ityf8-0005L2-PU for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 13:54:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57437) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ityf6-0005JX-Ge for bug-gettext@gnu.org; Tue, 21 Jan 2020 13:54:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ityf4-0001A4-Vr; Tue, 21 Jan 2020 13:54:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55391) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ityf4-0005lH-6r for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:54:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ityf1-00017a-4o for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:54:02 -0500 Received: from sonic317-32.consmr.mail.ne1.yahoo.com ([66.163.184.43]:35349) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ityf0-00016B-Df for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 13:53:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1579632836; bh=GiYccqTz1JHL1HEqrxg1JIvn3i+0hE185/hv2NSS6zY=; h=Date:From:To:Cc:Subject:References:From:Subject; b=MLlcD4CMOiio1YmLoLCLbCxTPdcGhenatJH6lW6Bgo7YyzTWA1MStYVcp28aLqs3/yE5GCGMjdaOPW2rMguAvx3gHyPNKCLJ0g3BIc2uqBPAvb7lEpTUo/5T8t95wPWoiOvEEPaI6/+JF/Nzy7CsBPGf+Bk2643JO921stB/iHAx09LKDp7riqr9ymZB55ZuI2oAgq3YvLwZRNVzrs4eVgWyRbusewa91k0PClRsS2r0Qi+ejy2fbWLXieRU1gqafv4BITG1uZvOxB1+rWqBWUJhZHN1Ob5XPJGfqPML5ML726F/vJymfY7JJeaIU7DTBz3tQPEVuMxdo35HABrxSg== X-YMail-OSG: b_6oMWgVM1nZ47HgDfAUTUnZ8TGK39R0UA13I6ly4k4qtnH1rqJOtDcHqkgpg20 cFBbU583u0PEhuZjwBS6jGLvSi0yVRAYJbypRYAtjmeLPpghO2Zj3f94xpHGrw3rN5Ie4RPlu6aJ lOIJcMIIHiEhcD_dHho9O68ZBT6eII4.nuLgr7ZxQiMcGOmtoaPCTtPn7gTysg6YKb1EOKmWvDj0 y_LxRVKV58IpRJJ33lFbpPuLYXIEpPVHeVwi4rjw9wuhlQRAeCusUEWuHhsRIu2whCWosUu2K9LL LAsR6x8in272e0TPcK246jVGWR.DMa6cH.xvLI.FQUo5Vvp5GtdVroKkDgpX9nx6957iyUBBOuvs 4iaD7EOM6pFQkmw9tHtbv5n.xMxkzfhmPdBCKrZK3D2P5.gIfr_TvKNVE3OrYvp6xBPXUYh4C.y1 BylGdvij9pcmsVv9.6U.Cl5bmy.x4L_EqAoScpkqYaHAmkaYsOO6gi.0JnsiTHooUyGAhBdnNX1v Mr36R_8Pae3JKYEWiIh9PfBsz2FVquxmpBXqUjIQRxqJVeYjBKPnWDnflvHicb._gjaiZe7nAv5t pVzz2Y.26aUQmYjxJ2TtnF0Jkuj4U0kEt_Fk2jomAEw7L8NXnsxHhLPs1MA99rOFsyv9apZUYd9I WJDIYn6fmMBS8hy5oCwFfLW6Esau4UjRsai3_4ITWcqmrclY9JxqvGQQcCggwNexi2KyrgThghMa vy21Ap0.6I85UC56mVivjnR0yDE0e.UUcN91u30Lo8V8iseyvn6_mqDIEXYp4Tkzzj3yRWKDeaya xexUDw6zDxIFLNPAKxXFnptuwqc.70WnC1nAcAHATkhxGS2Fc2RXlqksrRMbxR0Rkc59brJglA6k EPm3mdkyO1A6zPpRv9g3Eo2gTUqHDVoCbEsGhbJz4yqmBPt1Hq4jP67uQb.N6JfftBrbNTiv1jsV CRset.sPxbDEcpQQIIZD5Q3mqYTbag3bMS_NtHD.j6apQQllrVyJgOcFwFOk3TDsZbut5C5dzCV. vlZ70gjMXsgaWRgqJr6AxlAJ3LPb9wv7lKOWa68UdQOfHOIf6TGs_a723wpoWqYZ_9ZZF_QArxmU MMI1hwzta5vox71_bnpgpuEXufAkDbkRDcyrKohHM364G3KiAWf3VzL6VOfNjP4.vjHnDY7bBsfi KHr.MzqDcj_3m00wnpxGpLP90d4DOSFX1NrQJu8fqsjC1zciZNkLfDBfokIPGFrv9THHtKqwWvZp x5jDlpQIJPxDPzNXO5VIH8MAC1phIAIYWjUPf0V8RV8llWYRoBg1YWsBgRSIhUkHlWQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 21 Jan 2020 18:53:56 +0000 Date: Tue, 21 Jan 2020 18:53:54 +0000 (UTC) From: Shware Systems To: Joerg.Schilling@fokus.fraunhofer.de, eblake@redhat.com, bruno@clisp.org Cc: bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Message-ID: <1818629942.2062507.1579632834343@mail.yahoo.com> Subject: Re: Coordination on standardizing gettext() in future POSIX MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2062506_1508481434.1579632834342" References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15077 aolandroid Mozilla/5.0 (Linux; Android 9; LM-G850 Build/PKQ1.190522.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.116 Mobile Safari/537.36 AolApp/5.11.1.1.2401 Content-Length: 5203 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.184.43 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 18:54:06 -0000 ------=_Part_2062506_1508481434.1579632834342 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This is not invention, as even Solaris allows you to turn it off with -s, a= s you point out. It may work fine for the charsets/charmap files Solaris hi= storically provides to have escapes active as the default, but this does no= t equate to it being valid for all conforming charsets, if an application m= akes use of localedef, that I see. As such, from a portability standpoint, = I view not processing escapes as the safer alternative. On Tuesday, January 21, 2020 Joerg Schilling wrote: Shware Systems wrote: > My two cents, I'm more in favor of requiring the -e ala GNU, as a byte st= ream that may be an escape for the charset of one locale may be plain text = in another locale, especially when the encoding of the escape char itself d= iffers. This can complicate editing data files when a pot file is a comment= ed template for non-comment equivalences in po files, as an example workflo= w. Most editors I've used only permit one charset per file, so such a confl= ict would show in these. To avoid this I believe would require the standard= placing more restrictions on charsets locales may use than now, to ensure = portability, but this is not part of the proposal. POSIX does not invent things but rather standardizes existing behavior and= =20 Solaris behaves the same way since 30 years, while Linux does not follow it= 's=20 own definitions. I am against changing the behavior. J=C3=B6rg --=20 EMail:joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin =C2=A0 =C2=A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schil= y.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files= /' ------=_Part_2062506_1508481434.1579632834342 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

This is not invention, as even Solaris allows you to turn it= off with -s, as you point out. It may work fine for the charsets/charmap f= iles Solaris historically provides to have escapes active as the default, b= ut this does not equate to it being valid for all conforming charsets, if a= n application makes use of localedef, that I see. As such, from a portabili= ty standpoint, I view not processing escapes as the safer alternative.




On Tue= sday, January 21, 2020 Joerg Schilling <J= oerg.Schilling@fokus.fraunhofer.de> wrote:

Shware Systems <shwaresyst@aol.co= m> wrote:

> My two cents, I&= #39;m more in favor of requiring the -e ala GNU, as a byte stream that may = be an escape for the charset of one locale may be plain text in another loc= ale, especially when the encoding of the escape char itself differs. This c= an complicate editing data files when a pot file is a commented template fo= r non-comment equivalences in po files, as an example workflow. Most editor= s I've used only permit one charset per file, so such a conflict would = show in these. To avoid this I believe would require the standard placing m= ore restrictions on charsets locales may use than now, to ensure portabilit= y, but this is not part of the proposal.

POSIX does not invent things but rather standardizes existing behavior a= nd
Solaris behaves the same way since 30 years, while Li= nux does not follow it's
own definitions.

I am against changing the behavior.


= J=C3=B6rg

--
EMail= :joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin
=C2=A0 =C2=A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot= .com/
URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'
<= /div>
------=_Part_2062506_1508481434.1579632834342-- From MAILER-DAEMON Tue Jan 21 14:11:12 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ityvg-000380-NU for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 14:11:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59402) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ityvc-00031C-Jt for bug-gettext@gnu.org; Tue, 21 Jan 2020 14:11:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ityvc-0004Zq-Br; Tue, 21 Jan 2020 14:11:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57354) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ityvb-0002Gb-HV for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 14:11:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ityva-0004Z3-9m for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 14:11:07 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::7]:33000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ityvZ-0004Xt-Ky for bug-gnu-gettext@gnu.org; Tue, 21 Jan 2020 14:11:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579633862; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=pStM8tzFh9pZGdlkZKg0glQHaer8WY0TUZxNy460cos=; b=XNpWa9bYjExxGAOUYTXay5nUIP6JCen78K6aIld7JqmSZIpo9eEWL/p/FKtMbbisSf wV6TE6UY0WRzD7hdgbmIY9uPHdm29tYHTUKIpvQwhCX92kknxCa+FoWQbYNI+m1AWCAf EZe3FZ21OpBb4MNX7OlUH0R213Pv8iM6s68XuGrZ7skGvsca1rmmtV3oq9HM60Oyo/jT ZLOFwL7gLWfzwZ+h5XBRaWua1Jj/TEn1bira+CGMhYBp2z+4SXQmR3a9TCJ+RARvo6jT 9HFL0J5DrTZ7cXis50zUm0eFG3xNW6iOwyMesyWA8CYnYnHXB35b2VQEPN6jRXf6ak7M Zm9g== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0LJAn8pg (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Tue, 21 Jan 2020 20:10:49 +0100 (CET) From: Bruno Haible To: Joerg Schilling Cc: eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Tue, 21 Jan 2020 20:10:49 +0100 Message-ID: <1914124.4EnX6Drt6t@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <5e271edd.sQ7IDsJrlQQSh851%Joerg.Schilling@fokus.fraunhofer.de> References: <1666759.e1GnsyipgA@omega> <5e271edd.sQ7IDsJrlQQSh851%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 19:11:11 -0000 Hi J=F6rg, Regarding the gettext(1) program and whether it expands escape sequences by default: 1) [1] is ambiguous / self-contradictory. On one hand it says: This utility interprets C escape sequences such as \t for tab. Use \\ to print a backslash... Which sounds like they are expanded by default. On the other hand it says: OPTIONS -e Enable expansion of some escape sequences. Which sounds like they are NOT expanded by default. So, you can't resolve this question by referencing an ambiguous specificati= on. 2) GNU gettext(1) and Solaris gettext(1) differ in this respect: GNU: $ gettext 'abc\ndef'; echo abc\ndef Solaris: $ gettext 'abc\ndef'; echo abc def This makes it hard to standardize, since the behaviours differ, and both implementations will want to claim need for backward-compatibility. 3) Additionally, there's the problem that gettext(1) does not and can not (as a program) deal with strings that contain placeholders. As soon as the shell program to be internationalized references variables in its strings, you need a shell function. In GNU gettext, it is called 'eval_gett= ext' [2]. Even the simple hello-world program shows the need for this shell function: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #!/bin/sh # Example for use of GNU gettext. # This file is in the public domain. # # Source code of the POSIX sh program. =2E gettext.sh TEXTDOMAIN=3Dhello-sh export TEXTDOMAIN TEXTDOMAINDIR=3D'@localedir@' export TEXTDOMAINDIR gettext "Hello, world!"; echo pid=3D$$ eval_gettext "This program is running as process number \$pid."; echo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Because of 2) and 3), I think it would be a mistake to standardize the Solaris gettext(1) behaviour: - It would be contradicting wide use on GNU/Linux systems, - It would ignore half of the functionality that even simple shell scripts need. Bruno [1] http://web.archive.org/web/20030428195733/http://www.li18nux.org/docs/h= tml/LI18NUX-2000-amd4.htm [2] https://www.gnu.org/software/gettext/manual/html_node/sh.html From MAILER-DAEMON Tue Jan 21 15:58:58 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iu0by-0003Xx-3I for mharc-bug-gettext@gnu.org; Tue, 21 Jan 2020 15:58:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44348) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu0bu-0003Xl-O1 for bug-gettext@gnu.org; Tue, 21 Jan 2020 15:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iu0bt-0006ew-Gn for bug-gettext@gnu.org; Tue, 21 Jan 2020 15:58:54 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::7]:28796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iu0bs-0006dZ-SO for bug-gettext@gnu.org; Tue, 21 Jan 2020 15:58:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579640329; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=cv8H8ca3yyK1iXskoWOBKlEPNwJ/P1uI+VkYQVLcR0E=; b=SO7bJQbEanqBwVO9CaX/GHaO/ucEWgluufzNVtIGuYHAIlxxjzr/7w1WWCJADOpsKU wjQXTyhfy+mR2x1pkV+gf6D1CaSWh+dIqJJiHkn0zhzyHnqfVVhj5jqHLn/mlUPV5B5f qroEhtU2hIDAyEzVF9kbzUQPyUnubtPxR/3OIB08iKTnf7XFmAJZ1YC0YsJD0+Y1ng2r h9mRAnN9NevadEi1OIOzdKxJsGxjWBftseETJ2pg8snYhvzy3/pcI2LHD+96p1oqcXot MlJJuCm7BQ+vSZhx44eTEIu6jZsmG2wHMtz8ieh2AEhGnAojNXRlEgzdX+106dbMrQai 2Nmw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0LKwg914 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Tue, 21 Jan 2020 21:58:42 +0100 (CET) From: Bruno Haible To: bug-gettext@gnu.org Cc: Akim Demaille Subject: Re: libtextstyle 0.8: confused with classes that are suffixes of others Date: Tue, 21 Jan 2020 21:58:41 +0100 Message-ID: <3095319.U2K7cJbplC@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::7 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2020 20:58:56 -0000 Hi Akim, > libtextstyle confuses class names when one is a suffix of another. > > To reproduce it, take the hello example from libtextstyle 0.8, and replace > with the attached files that use classes bar and foobar. And see that > Maria and Fred are printed in blue. > > Note that it matters that the class foobar is defined before the class bar. > In the other sense, the problem does not appear. So libcroco seems to be the > culprit. I reproduce the issue with libtextstyle-0.8, but not with the current git HEAD. Therefore I've created a new release at https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz Most likely the bug was fixed when I upgraded from libcroco 0.6.1 to 0.6.13. Maybe the bug is the one I reported a couple of years ago [1][2], maybe a different one. Bruno [1] https://bugzilla.gnome.org/show_bug.cgi?id=395099 [2] https://salsa.debian.org/gnome-team/libcroco/commit/5066d38ceca39591045d7fd506760f83309ac35f From MAILER-DAEMON Wed Jan 22 00:44:02 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iu8o6-00065c-Lm for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 00:44:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59395) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu8o3-00065Q-Nl for bug-gettext@gnu.org; Wed, 22 Jan 2020 00:44:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iu8o2-0008SQ-Hv for bug-gettext@gnu.org; Wed, 22 Jan 2020 00:43:59 -0500 Received: from smtp.lrde.epita.fr ([163.5.55.2]:49190) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iu8o2-0008Re-C3 for bug-gettext@gnu.org; Wed, 22 Jan 2020 00:43:58 -0500 Received: from [192.168.1.35] (lns-bzn-30-82-253-153-106.adsl.proxad.net [82.253.153.106]) by smtp.lrde.epita.fr (Postfix) with ESMTPSA id 1EEE84342B; Wed, 22 Jan 2020 06:43:56 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: libtextstyle 0.8: confused with classes that are suffixes of others From: Akim Demaille In-Reply-To: <3095319.U2K7cJbplC@omega> Date: Wed, 22 Jan 2020 06:43:55 +0100 Cc: bug-gettext@gnu.org Content-Transfer-Encoding: quoted-printable Message-Id: <26B750EE-BF9F-4C7C-BB9D-6C78698B2751@lrde.epita.fr> References: <3095319.U2K7cJbplC@omega> To: Bruno Haible X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 163.5.55.2 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 05:44:00 -0000 Hi Bruno, > Le 21 janv. 2020 =C3=A0 21:58, Bruno Haible a =C3=A9cr= it : >=20 > Hi Akim, >=20 >> libtextstyle confuses class names when one is a suffix of another. >>=20 >> To reproduce it, take the hello example from libtextstyle 0.8, and = replace >> with the attached files that use classes bar and foobar. And see = that >> Maria and Fred are printed in blue. >>=20 >> Note that it matters that the class foobar is defined before the = class bar. >> In the other sense, I guess "in the other order" would have been the right way to say it. >> the problem does not appear. So libcroco seems to be the >> culprit. >=20 > I reproduce the issue with libtextstyle-0.8, but not with the current = git HEAD. >=20 > Therefore I've created a new release at > https://alpha.gnu.org/gnu/gettext/libtextstyle-0.20.5.tar.gz I confirm my real case is fixed. Thanks a lot!= From MAILER-DAEMON Wed Jan 22 04:47:12 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuCbQ-00039z-Rv for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 04:47:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53946) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuCbN-00039q-H4 for bug-gettext@gnu.org; Wed, 22 Jan 2020 04:47:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuCbJ-0002Hh-6C; Wed, 22 Jan 2020 04:47:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51900) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuCbI-0007ZO-Vj for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 04:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuCbH-0002H7-Lc for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 04:47:04 -0500 Received: from mx-relay56-hz1.antispameurope.com ([94.100.133.228]:36522) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuCbH-0002Fu-Ci for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 04:47:03 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay56-hz1.antispameurope.com; Wed, 22 Jan 2020 10:46:57 +0100 Received: from hahn.fokus.fraunhofer.de (hahn.fokus.fraunhofer.de [10.147.9.208]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00M9kpGD024087 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jan 2020 10:46:52 +0100 Received: from heisenberg.fokus.fraunhofer.de (10.147.9.211) by hahn.fokus.fraunhofer.de (10.147.9.208) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Wed, 22 Jan 2020 10:46:51 +0100 Received: from rigel (10.147.9.171) by heisenberg.fokus.fraunhofer.de (10.147.9.211) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Wed, 22 Jan 2020 10:46:44 +0100 Date: Wed, 22 Jan 2020 10:46:44 +0100 From: Joerg Schilling To: , , CC: , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <1818629942.2062507.1579632834343@mail.yahoo.com> In-Reply-To: <1818629942.2062507.1579632834343@mail.yahoo.com> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: hahn.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 22.01.2020 03:39:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay56-hz1.antispameurope.com with 91B178C02B9 X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:1.159 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.133.228 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 09:47:10 -0000 Shware Systems wrote: > This is not invention, as even Solaris allows you to turn it off with -s, as you point out. It may work fine for the charsets/charmap files Solaris historically provides to have escapes active as the default, but this does not equate to it being valid for all conforming charsets, if an application makes use of localedef, that I see. As such, from a portability standpoint, I view not processing escapes as the safer alternative. What should be the reason for making the standard incompatible to the existing practice since more than 30 years? Gettext is a SunOS invention and other implementations are expected to follow the definition from the reference implementation. Do you really like to require SunOS to loose backwads incompatiblity? Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Wed Jan 22 06:22:39 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuE5n-0002Ya-Am for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 06:22:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37367) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuE5k-0002Xy-Dq for bug-gettext@gnu.org; Wed, 22 Jan 2020 06:22:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuE5g-0001Zo-9S; Wed, 22 Jan 2020 06:22:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35320) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuE5g-0008Lo-04 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:22:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuE5e-0001Yn-CS for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:22:31 -0500 Received: from mx-relay65-hz1.antispameurope.com ([94.100.132.233]:54832) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuE5e-0001Vj-33 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:22:30 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay65-hz1.antispameurope.com; Wed, 22 Jan 2020 12:22:25 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00MBMNn2026847 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jan 2020 12:22:24 +0100 Received: from heisenberg.fokus.fraunhofer.de (10.147.9.211) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Wed, 22 Jan 2020 12:22:20 +0100 Received: from rigel (10.147.9.171) by heisenberg.fokus.fraunhofer.de (10.147.9.211) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Wed, 22 Jan 2020 12:22:20 +0100 Date: Wed, 22 Jan 2020 12:22:20 +0100 From: Joerg Schilling To: CC: , , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e28306c.mFzw4LQaq7Q9uGDs%Joerg.Schilling@fokus.fraunhofer.de> References: <1666759.e1GnsyipgA@omega> <5e271edd.sQ7IDsJrlQQSh851%Joerg.Schilling@fokus.fraunhofer.de> <1914124.4EnX6Drt6t@omega> In-Reply-To: <1914124.4EnX6Drt6t@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 22.01.2020 07:45:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay65-hz1.antispameurope.com with 90F154205CA X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.3515 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.132.233 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 11:22:37 -0000 Hi Bruno! Bruno Haible wrote: > Regarding the gettext(1) program and whether it expands escape sequences > by default: > > > 1) [1] is ambiguous / self-contradictory. > On one hand it says: > > This utility interprets C escape sequences such as \t for tab. Use \\ to > print a backslash... It is obvious that gettext(1) must expand escape sequences by default since this is the documented default behavior for both Solaris gettext(1) and GNU gettext(1) but in the default case, GNU gettext does not behave the way it is documented. > Which sounds like they are expanded by default. > > On the other hand it says: > > OPTIONS > -e > Enable expansion of some escape sequences. > > Which sounds like they are NOT expanded by default. You forgot to mention that it also mentions: -n Suppress trailing newline. which makes it obvious that someone made a mistake while writing the GNU documentation that describes the options. Someone forgot to mention that the options -e/-n are both valid only together with the -s option that switches the behavior. But this wrong wording is only in the GNU documentaion, while the official reference documentation from the inventor of the utility says: -s Behaves like echo(1) (see DESCRIP- TION above). If the -s option is specified, no expansion of C escape sequences is performed and a newline character is appended to the output, by default. With your interpretation of the GNU documentation, GNU gettext would need to output a newline at the end by default, but it does not. This is another hint for an implementation bug in GNU gettext... > So, you can't resolve this question by referencing an ambiguous specification. Given that the main explanation requires to expand escape sequences without giving any exception, this is doubtlessly the the default behavior. We may discuss things beyond that description, but given that GNU gettext even copied this text from SunOS man pages from the early 1990s, it is obvious that the intention of the GNU gettext implementation was to be compatible with the reference implementation and there is only a bug in the GNU implementation. The documentation from the reference implementation (Solaris) is definitely not ambiguous since it correctly documents -s as an exception. The GNU documentation is obvious for the default case that is documented in the DESCRIPTION section, but GNU gettext does not follow that GNU documentation. The only ambiguity I see in the GNU documentation is in effect for the non-default case, but in the non-default case, GNU gettext follows the behavior of the reference implementation. > 2) GNU gettext(1) and Solaris gettext(1) differ in this respect: > > GNU: > $ gettext 'abc\ndef'; echo > abc\ndef > > Solaris: > $ gettext 'abc\ndef'; echo > abc > def > > This makes it hard to standardize, since the behaviours differ, and > both implementations will want to claim need for backward-compatibility. Well people who expect the current GNU behavior obviously rely on a bug in the implementation. So the main question to me is whether GNU gettext will have a chance to be fixed. If you like to protect GNU users that rely on that implementation bug, GNU gettext could be enhanced to follow the documented behavior in case that POSIXLY_CORRECT is set, as used for other standard deviations on Linux already. The Solaris gettext behaves as documented and I see no reason to introduce a different description in POSIX since that would cause backwards compatibility problems. The Solaris behavior is obviously not a bug and did not change during the past 30+ years - much longer than GNU gettext exists. The Solaris implementation is even able to emulate the GNU behavior if it is called as: gettext -sn "some text" as long as you do not like to supply "textdomain" as first argument but rather as -d option argument. > 3) Additionally, there's the problem that gettext(1) does not and can not > (as a program) deal with strings that contain placeholders. As soon as It seems that you missunderstand the way gettext(1) is intended to be used. I see two useful ways to do what you like: 1) gettext -s "Hello World" $$ 2) text=$(gettext 'Hello World $$') eval echo $text or eval echo $(gettext 'Hello World $$') Method 2 is equivalent to the way, C programs use gettext(3). Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Wed Jan 22 06:34:09 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuEGv-00011B-Al for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 06:34:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39054) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuEGq-0000vv-TQ for bug-gettext@gnu.org; Wed, 22 Jan 2020 06:34:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuEGp-0007LO-Ko; Wed, 22 Jan 2020 06:34:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37004) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuEGo-0000wd-N4 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:34:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuEGm-0007KV-Oe for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:34:02 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::3]:15701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuEGl-0007JI-JE for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:34:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579692835; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=86aJ47lmTb+F2Zj5ZWyRvWeh0bQ5McMv9/Nj7q/T+oQ=; b=bLIvri+l2Vx1c2qO8S0uTVFSQgfUlA5FTh+8lqDuH6OPqU0p+sTJMnTyQLDEMMrm6C Yr+HCinSGvgUj88D86j6ZQ9zugOWQRoOjjfAV5IjwrrKP3P2MfEI0+cTm58xXSleuUJs MNzNPrRffLDfmCdNnK75R6sKm/qeQ+ZkBBjXgCzpbzWLHFZHTLytuNnPJQopOUkXBDCJ lY2Qgo7JyrEQCyE/St0A73hA5LS0sNH7n/ecXO19BuEr27GLG50WDSW3UMIk6Gi4z17B ZDybRaUh20UIIXmN4wo/K4Q7uFJPfzNt61ZrpyqTnR0Iybq+dxh9/m3k/tCxbr+aZwHn kRHg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0MBXqCnU (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 22 Jan 2020 12:33:52 +0100 (CET) From: Bruno Haible To: Joerg Schilling Cc: shwaresyst@aol.com, eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Wed, 22 Jan 2020 12:33:52 +0100 Message-ID: <2153288.qWUcXutS8v@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <1818629942.2062507.1579632834343@mail.yahoo.com> <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 11:34:07 -0000 Joerg Schilling wrote: > What should be the reason for making the standard incompatible to the existing > practice since more than 30 years? gettext(1) in GNU/Linux is also existing practice, for more than 24 years. And, if I may dare to say, GNU/Linux is more widely deployed than Solaris. > Gettext is a SunOS invention and other implementations are expected to follow > the definition from the reference implementation. Is that your approach to standardization? Take the SunOS/Solaris behaviour and ignore everything else? If that is your approach to standardization, then it is better to not standardize anything. Bruno From MAILER-DAEMON Wed Jan 22 06:51:07 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuEXL-0006Z8-F6 for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 06:51:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40660) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuEXI-0006Yr-93 for bug-gettext@gnu.org; Wed, 22 Jan 2020 06:51:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuEXD-0007bs-Np; Wed, 22 Jan 2020 06:50:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38544) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuEXB-00057B-ET for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:50:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuEND-0002ll-0P for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:40:40 -0500 Received: from mx-relay31-hz1.antispameurope.com ([94.100.133.207]:49596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuENC-0002d2-Nz for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 06:40:38 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay31-hz1.antispameurope.com; Wed, 22 Jan 2020 12:40:34 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00MBeU9B027218 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jan 2020 12:40:30 +0100 Received: from heisenberg.fokus.fraunhofer.de (10.147.9.211) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Wed, 22 Jan 2020 12:40:21 +0100 Received: from rigel (10.147.9.171) by heisenberg.fokus.fraunhofer.de (10.147.9.211) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Wed, 22 Jan 2020 12:40:21 +0100 Date: Wed, 22 Jan 2020 12:40:21 +0100 From: Joerg Schilling To: CC: , , , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e2834a5.tu92u6ZjKf0mlVsj%Joerg.Schilling@fokus.fraunhofer.de> References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <1818629942.2062507.1579632834343@mail.yahoo.com> <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> <2153288.qWUcXutS8v@omega> In-Reply-To: <2153288.qWUcXutS8v@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 22.01.2020 07:45:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay31-hz1.antispameurope.com with 86DCF72808A X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:1.331 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.133.207 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 11:51:05 -0000 Bruno Haible wrote: > If that is your approach to standardization, then it is better to not standardize > anything. If your approach is to standardize obvious implementation bugs, I am a bit bewildered. I was in hope that you are interested in a fruitful discussion and open to useful arguments. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Wed Jan 22 07:08:09 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuEnp-0001pd-J7 for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 07:08:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42515) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuEnm-0001pV-Oq for bug-gettext@gnu.org; Wed, 22 Jan 2020 07:08:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuEnm-00077n-Is; Wed, 22 Jan 2020 07:08:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40469) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuEnl-0006sz-Gv for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuEnk-00076p-1X for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:08:05 -0500 Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::7]:12102) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuEnj-00075w-CR for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:08:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579694880; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=M7B3gZw+2+M3Q3+2mDC8OfTXuUzbsuc7xfctIXIEXbE=; b=IGu6o/h6sH98MHPvYwQvSKhbQMBgiDXNyKMJWRoDlyajB8L/ODKNCUQ9hVpza3hnl4 8VoRkwayUSt/STIXxOaEiCbII/jt4jktPd7SgM0SgjCPNsrJRWYvhEH2dGvJ237/FK2G LDhQyU5CbHKZDplXPmKMoksll0ZvNmMejQxzDasHbZWwhNuX3jZisrGG9zV1hXe9FQeK C/j5MRAwCc3G55sTAeOCuUjSLERkPD6eWouBuFvJ7qnkgUFbM0V20vz7ZEUG3XpgF3eX WUC6A4JMZdHtLujZyxIIWeqByiIA+kFamuFoQarvjwgc7hWlelAObKqDKevYY+apd4lO IRTw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0MC7uD3o (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 22 Jan 2020 13:07:56 +0100 (CET) From: Bruno Haible To: Joerg Schilling Cc: eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Wed, 22 Jan 2020 13:07:56 +0100 Message-ID: <1795084.JFYmtoZ0A6@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <5e28306c.mFzw4LQaq7Q9uGDs%Joerg.Schilling@fokus.fraunhofer.de> References: <1914124.4EnX6Drt6t@omega> <5e28306c.mFzw4LQaq7Q9uGDs%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5301::7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 12:08:08 -0000 Joerg Schilling wrote: > It is obvious that gettext(1) must expand escape sequences by default since > this is the documented default behavior for both Solaris gettext(1) and GNU > gettext(1) but in the default case, GNU gettext does not behave the way it is > documented. What you call the "GNU gettext documentation" is [1], the ambiguous LI18NUX specification (which, by the way, was a common effort of Sun Microsystems people and GNU people). The actual GNU gettext documentation is here: [2], and the part about the escape sequences has not changed since 2004. GNU gettext behaves the way it is documented: It does NOT expand escapes by default. > You forgot to mention that it also mentions: > > -n Suppress trailing newline. > > which makes it obvious that someone made a mistake while writing the GNU > documentation that describes the options. Correct, and I fixed this documentation mistake four months ago. [3] > given that GNU gettext even copied > this text from SunOS man pages from the early 1990s, it is obvious that the > intention of the GNU gettext implementation was to be compatible with the > reference implementation and there is only a bug in the GNU implementation. It is well-known that the escape sequence expansion in 'echo' was different in System V and BSD systems. You can assume that when Ulrich Drepper started out writing GNU gettext in 1995, he did NOT want to copy the System V behaviour of 'echo' into the 'gettext' program. > > 2) GNU gettext(1) and Solaris gettext(1) differ in this respect: > > > > GNU: > > $ gettext 'abc\ndef'; echo > > abc\ndef > > > > Solaris: > > $ gettext 'abc\ndef'; echo > > abc > > def > > > > This makes it hard to standardize, since the behaviours differ, and > > both implementations will want to claim need for backward-compatibility. > > Well people who expect the current GNU behavior obviously rely on a bug in the > implementation. This argument fails because you were looking at LI18NUX, not at the documentation of GNU gettext. > > 3) Additionally, there's the problem that gettext(1) does not and can not > > (as a program) deal with strings that contain placeholders. As soon as > > It seems that you missunderstand the way gettext(1) is intended to be used. This is quite unlikely, because I have been the GNU gettext maintainer for 12 years. > I see two useful ways to do what you like: > > 1) > > gettext -s "Hello World" $$ No, this is not a reasonable way to use the 'gettext' program. It violates the principle "Entire sentences" [4]. In different languages, the number may need to be embedded into a sentence, rather than at the end of the sentence. > 2) > > text=$(gettext 'Hello World $$') > eval echo $text > > or > > eval echo $(gettext 'Hello World $$') No, this is not a reasonable way to use the 'gettext' program either. It fails miserably when the translation of 'Hello World $$' contains a semicolon. Try text='Coucou; le monde $$' eval echo $text In general, there is agreement among people writing shell scripts that the use of 'eval' should be minimized, i.e. that 'eval' should only be used when the lexical structure of the string being eval'ed can be predicted. Bruno [1] http://web.archive.org/web/20030428195733/http://www.li18nux.org/docs/html/LI18NUX-2000-amd4.htm [2] https://www.gnu.org/software/gettext/manual/html_node/gettext-Invocation.html [3] https://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=b0d302e404c4b7c2c59e7609aacff35476a494d8 [4] https://www.gnu.org/software/gettext/manual/html_node/Preparing-Strings.html From MAILER-DAEMON Wed Jan 22 07:29:35 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuF8Z-0003hF-4s for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 07:29:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45080) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuF8V-0003YY-Um for bug-gettext@gnu.org; Wed, 22 Jan 2020 07:29:33 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuF8R-0002iH-Lq; Wed, 22 Jan 2020 07:29:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43028) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuF8Q-0004ZM-My for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:29:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuF8P-0002g6-G3 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:29:26 -0500 Received: from mx-relay33-hz1.antispameurope.com ([94.100.133.209]:37929) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuF8P-0002bd-7F for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 07:29:25 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay33-hz1.antispameurope.com; Wed, 22 Jan 2020 13:29:20 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00MCTGqr028137 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 22 Jan 2020 13:29:16 +0100 Received: from heisenberg.fokus.fraunhofer.de (10.147.9.211) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Wed, 22 Jan 2020 13:29:13 +0100 Received: from rigel (10.147.9.171) by heisenberg.fokus.fraunhofer.de (10.147.9.211) with Microsoft SMTP Server id 15.1.1847.3 via Frontend Transport; Wed, 22 Jan 2020 13:29:13 +0100 Date: Wed, 22 Jan 2020 13:29:13 +0100 From: Joerg Schilling To: CC: , , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e284019.29bNbJyKUSwxuiKA%Joerg.Schilling@fokus.fraunhofer.de> References: <1914124.4EnX6Drt6t@omega> <5e28306c.mFzw4LQaq7Q9uGDs%Joerg.Schilling@fokus.fraunhofer.de> <1795084.JFYmtoZ0A6@omega> In-Reply-To: <1795084.JFYmtoZ0A6@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 22.01.2020 09:25:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay33-hz1.antispameurope.com with C9342360CC4 X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.5910 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 94.100.133.209 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 12:29:33 -0000 Bruno Haible wrote: > It is well-known that the escape sequence expansion in 'echo' was different > in System V and BSD systems. You can assume that when Ulrich Drepper started > out writing GNU gettext in 1995, he did NOT want to copy the System V behaviour > of 'echo' into the 'gettext' program. So in other words, this is a result of not following the POSIX standard from the beginning? What you call "System V behaviour" is the official required POSIX behavior for implementations that like to use the UNIX brand name. Even bash implements a compile variant that makes bash compliant with regard to the POSIX echo requirements. This compile variant is used on Solaris and on Mac OS where bash has been used as the shell to run the test suite. BTW: My text contained a question that you did not answer. It seems that the text in LI18NUX-2000-amd4.pdf is a comprimise negotiated between Sun and some GNU people that unfortunately is ignored by the GNU implementation in the default case of using gettext(1). I tried to build you a bridge and I am still in hope that you are interested in a result that is useful for standardisation. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Wed Jan 22 08:14:16 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuFpo-00034E-Pw for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 08:14:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50643) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuFpm-00033q-6g for bug-gettext@gnu.org; Wed, 22 Jan 2020 08:14:15 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuFpm-00050Y-16; Wed, 22 Jan 2020 08:14:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48590) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuFpk-0004MH-Sq for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 08:14:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuFpf-0004x6-Rn for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 08:14:12 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::6]:23442) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuFpf-0004v6-7Q for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 08:14:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579698843; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=fdtJ2DlSsxu97lNK/regynYTAzrJHTnLiRdo5fPNCoY=; b=qbXtkyh/t/dVTWzrkf9Xev8jZ4GTpkWCAIP7bAtyyIVfXDWqD8AWj2cBO08fFzEXvj x/UNqr+sQfUDTdENWw5MX8XNkALX2oTiSLV9f/GIgqTI8zSCRPi2IF5Go4EP4jfDuT08 h35+tAh+SejwxTaYiYVPBDU1puMqUawBgCQmGLEQepyoWezEVW+CyUWmEVIf3jkXElvx GuUcdF0dqyVBxNMPgwb95eq8/6F9RVqUK6sk12lid/ByvVHssc2izkT5N7Ez1dyEbfQr 0wnfex+mLRj1ykEyX5oy8L7jkAfDs8jbH9R3LIOqe+nyu5yJ+WFyUD9HFb1W8rJjXJ9P 1XaQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0MDE0Da5 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 22 Jan 2020 14:14:00 +0100 (CET) From: Bruno Haible To: Joerg Schilling Cc: eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Wed, 22 Jan 2020 14:14:00 +0100 Message-ID: <30382870.DVnRiEeV2y@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <5e284019.29bNbJyKUSwxuiKA%Joerg.Schilling@fokus.fraunhofer.de> References: <1795084.JFYmtoZ0A6@omega> <5e284019.29bNbJyKUSwxuiKA%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 13:14:15 -0000 J=F6rg Schilling wrote: > > It is well-known that the escape sequence expansion in 'echo' was diffe= rent > > in System V and BSD systems. You can assume that when Ulrich Drepper st= arted > > out writing GNU gettext in 1995, he did NOT want to copy the System V b= ehaviour > > of 'echo' into the 'gettext' program. >=20 > So in other words, this is a result of not following the POSIX standard f= rom=20 > the beginning? What you call "System V behaviour" is the official require= d POSIX=20 > behavior for implementations that like to use the UNIX brand name. You can view it like this. I view it as a failure to provide a useful stand= ard in this place (the 'echo' command). Even POSIX acknowledges this [1]: "It is not possible to use echo portably across all POSIX systems unless both -n (as the first argument) and escape sequences are omitted." "The two different historical versions of echo vary in fatally incompatib= le ways." With gettext(1), we are now in the same situation: Solaris gettext(1) behav= es like System V 'echo', and GNU gettext(1) behaves like BSD 'echo' (on purpos= e, not by mistake, otherwise it would not have a '-e' option, borrowed from BSD 'echo'). It varies "in fatally incompatible ways" here too. Would it be useful to copy the POSIX echo(1) tragedy and produce the same thing once again, as a POSIX gettext(1) tragedy? I don't think so. Even the POSIXLY_CORRECT subterfuge variable would not be of real help to solve this dilemma: People avoid this variable because it has side effects on several programs, some of them negative. > It seems that the text in LI18NUX-2000-amd4.pdf is a comprimise negotiate= d between=20 > Sun and some GNU people that unfortunately is ignored by the GNU implemen= tation in=20 > the default case of using gettext(1). The appendices in the LI18NUX were written down in a hurry at the end of the specification process. The LI18NUX group spent a lot of time discussing wha= t is Unicode support Level 1, Level 2, etc., and at the end delegated one person= to do a copy&paste of existing documentation for the appendices. As far as I r= ecall, there was no (or hardly any) critical review and no discussion any more at = this point. This explains why the gettext(1) documentation in there is ambiguous. Bruno [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html From MAILER-DAEMON Wed Jan 22 11:15:46 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuIfS-00085P-Ke for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 11:15:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45846) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuIfQ-000843-2d for bug-gettext@gnu.org; Wed, 22 Jan 2020 11:15:45 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuIfP-0006rJ-Lp; Wed, 22 Jan 2020 11:15:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43799) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuIfM-0006YR-Nw for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 11:15:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuIfL-0006nv-NQ for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 11:15:40 -0500 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:32881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuIfL-0006mY-Gv for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 11:15:39 -0500 Received: by mail-qk1-x732.google.com with SMTP id h23so280323qkh.0 for ; Wed, 22 Jan 2020 08:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eL7ogWbDjT5BS7/zimncLbaGt/nLNbWfckG5NmThUEI=; b=FyCCYLPFEWIJHfSQwPwCAJM2rOd/e4XY8boMhVOW+5PyIKsB9jFLrV2xxqig2/xqcE 1QK6rWC9N4vNae1+1S8eR80o2qT5iue1KRgdg53o9i+K7qv7Q52DNpMueZUxjtU/hdVt d7DZ0Stlr2gxWvJREwkmURLj3OOi+BRyw5Fi56P/CgZeL/3ik3fjB4vcbYoP2nxI4XKG 1KdZlDrJhl6glXxD3/ytQY6TcqNSg/8CvYO7b5w4RaGCpDnUmlrc3tKgtCjLFZnTgLGh yGEjtCc855v+UcDbNtWxHrgdEYxh7sdMuMSX1mHsSfIo18YigOj8sm+Vsa6ga+2SkHzb YO5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eL7ogWbDjT5BS7/zimncLbaGt/nLNbWfckG5NmThUEI=; b=lMLGXOgPm2CO8qMsAKLsW7UUMGTAvYBtSxNn16VFeddYTdozMSN1wzF0+RYk6q6dWE L2sLzNQ4dS7gX5xjCHP94LSsktCFhWhlkoV4SWu+tWvUjpPit/cayfcSMf2G/3ICvfPk q+5lmjQijS8N8ZfemYNlM8NBR0zL1grC6TIx7T5xKkBkUVN1RCeOlSuVcXzjuuJdYRO5 ant+lQiqX+9FXg5sTVnOPU0iiy8/cIsXce7QoCh6g4E1cHBM/zgFiozGOTmxImGoPiaT SLc0uPZo0lsCn+5BeLVFD2ht6rfVn56oClRnF2OSWf+E+1aF78awCmYaRNHlOK+5wvT1 tYhQ== X-Gm-Message-State: APjAAAUWbhqjOKhlgH5omyDKwAxEvRhhgzyv1stX0MfN8NoLsXz3w1W6 xMKyX4FZmVonkLUyfgDRPSOFnCOuA86r8vKikBM= X-Google-Smtp-Source: APXvYqydd7uFXQmwpLcZxFP0Gkl165YAdcyNMekTet6pPyglxZLB4CHka5aNJpgGi4bHP9IeKQVzFZyb8UcB1hAN/QY= X-Received: by 2002:a37:d14:: with SMTP id 20mr8264000qkn.330.1579709738614; Wed, 22 Jan 2020 08:15:38 -0800 (PST) MIME-Version: 1.0 References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <1818629942.2062507.1579632834343@mail.yahoo.com> <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> In-Reply-To: <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> From: Ulrich Drepper Date: Wed, 22 Jan 2020 17:15:26 +0100 Message-ID: Subject: Re: Coordination on standardizing gettext() in future POSIX To: Joerg Schilling Cc: shwaresyst@aol.com, Eric Blake , Bruno Haible , bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Content-Type: multipart/alternative; boundary="000000000000d1815a059cbcd538" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::732 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 16:15:45 -0000 --000000000000d1815a059cbcd538 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jan 22, 2020 at 10:47 AM Joerg Schilling < Joerg.Schilling@fokus.fraunhofer.de> wrote: > Gettext is a SunOS invention and other implementations are expected to > follow > the definition from the reference implementation. > That implementation was the starting point but I didn't just copy it. We (mostly Fran=C3=A7ois, Peter, and I) fixed many shortcomings to make the AP= I actually usable. Without that additional functionality the already-standardized message catalog mechanism would certainly have won. Do you really like to require SunOS to loose backwads incompatiblity? > Overly dramatic. You just need one mode that is POSIX compatible. Many GNU tools use POSIXLY_CORRECT_ --000000000000d1815a059cbcd538 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Jan 22, 2020 at 10:47 AM Joerg Sc= hilling <Joerg.Sc= hilling@fokus.fraunhofer.de> wrote:
Gettext is a SunOS in= vention and other implementations are expected to follow
the definition from the reference implementation.

=
That implementation was the starting point but I didn't just= copy it. We (mostly Fran=C3=A7ois, Peter, and I) fixed many shortcomings t= o make the API actually usable. Without that additional functionality the a= lready-standardized message catalog mechanism would certainly have won.


Do you really like to require SunOS to loose backwads incompatiblity?

Overly dramatic.=C2=A0 You just need one mod= e that is POSIX compatible. Many GNU tools use POSIXLY_CORRECT_=C2=A0
=
--000000000000d1815a059cbcd538-- From MAILER-DAEMON Wed Jan 22 12:08:40 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuJUe-0002Y6-Qq for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 12:08:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53655) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuJUc-0002Xv-5W for bug-gettext@gnu.org; Wed, 22 Jan 2020 12:08:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuJUb-0002aU-Vp; Wed, 22 Jan 2020 12:08:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51609) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuJUb-00017a-DJ for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:08:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuJUa-0002Zx-Cg for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:08:37 -0500 Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::9]:31169) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuJUZ-0002WB-OJ for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:08:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579712912; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=OlHf06gzz1ArnVZ3v+ccWd5d9Ow74utZRQRFkpn4W/8=; b=qfeL3KCgnv4gKTGQM+REbLUhds+T9NKR9NXBh1F1TOpocLSJWbJ17gGsUX8mPXnea8 nFXPm0UBIBLcaMQyEu31OR55uDCrDQxn5bLIGu34s22BFqEXTzc9WaH2somY19v+ZKII HaZVs7qc00EPNZr4BJXITOCxYmhiIh+c+VUv7hrZhhJUjIC3B1EPNtQDGr8ljWpGL7kq DCAb6fNfOXJMk/a1xGY2JsG/Wx8NElokyUx+E0k++9AAH6n6iOWZyRX6tltAx4+kAtDX n+NOB39lso+naUx/C2Sh69eLpLu5bN5IxNQtPtMvJMveWKKGBVvEnY8P1S8huh6wOxbu DBnQ== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.5 DYNA|AUTH) with ESMTPSA id 506e28w0MH8TF8u (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Wed, 22 Jan 2020 18:08:29 +0100 (CET) From: Bruno Haible To: Ulrich Drepper Cc: Joerg Schilling , shwaresyst@aol.com, Eric Blake , bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Wed, 22 Jan 2020 18:08:28 +0100 Message-ID: <3694965.lUDvyMHbsL@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5301::9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 17:08:39 -0000 Ulrich Drepper wrote: > > Do you really like to require SunOS to loose backwads incompatiblity? > > Overly dramatic. You just need one mode that is POSIX compatible. Many GNU > tools use POSIXLY_CORRECT_ The Solaris practice for keeping backward compatibility despite new evolutions of the standards is to use /usr/xpg[457] directories. For example: /usr/xpg4/bin/sh != /usr/bin/sh /usr/xpg6/bin/ls != /usr/bin/ls /usr/xpg7/bin/getconf != /usr/bin/getconf There could be a /usr/xpg8/bin/gettext if POSIX gettext(1) ends up specifying a different behaviour than the current Solaris implementation has. Bruno From MAILER-DAEMON Wed Jan 22 14:43:36 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuLua-0001Q3-38 for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 14:43:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuLuX-0001Pj-BE for bug-gettext@gnu.org; Wed, 22 Jan 2020 14:43:34 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuLuW-0003Ca-3U; Wed, 22 Jan 2020 14:43:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45549) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuLuV-0005Kr-EU for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 14:43:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuLuU-0003AQ-3f for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 14:43:31 -0500 Received: from sonic310-24.consmr.mail.ne1.yahoo.com ([66.163.186.205]:45276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuLuT-00037u-BJ for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 14:43:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1579722207; bh=5PxlVn4WOpG/oAL9SStqMs6POaKzhk28cWGsFbU7vvk=; h=Date:From:To:Cc:Subject:References:From:Subject; b=G9zRvBkxYJOv1b0L5wPwdHdYkoe/yF3AgarmshjnSGSht8Jdu0MkizBbBMjNlGDEdLXys9noj4FMjtws6Fm3d1Xh8xBhduvf0gHdbjJ1h7jwVrv9bgpL+vPUe+ExWl/KBj9FSh5Kff1+IqXvfdAvVwKUBlcduE/9/8U0xvfwktW/egtCQiypAGnCNhT8zFvmFEO/rjqPi5APolpT1bnEu+epsQaYjo7RyRZpZDPRi2ulB/w3+qKKuUhELMeobWShHQi7d4jIZukvnSAVBD9/klsGXblQ2YNQWoydG9ieLl9sSnR4uOUP9bonGCXcgeDiH1qoSmz0Fgpc/4U/54JaZQ== X-YMail-OSG: VBRIk.oVM1l3dkOwzVZnKTa0IRJQS9Q.wnuaeQNBBNrwEElq1BGiIFNPprFpqT7 zgYo8SRaxrC6q4GdJiDODG4d9RBhow3PiVReeaIZC6wUMVb5rR4Dz3zTbHDGMu5NV82LJ_VYFD6S O8Yi06gnzFv.mbt.R.GabvFlM6EnjasqJ7RtfBXcSgbJyH9HBCGSCPuG3AAhBeUEh6AMdrxftsSK 63Pl1wdiglmSoE7_y4wflBQE3wDCFtitAzp1QLgiKnYLNlXO7rBekINtdYsCoSJ7Mi9fRA..gcqy LnEAVpSd5e0JSz2fbEaSXgi2Rkfbi07Tie3nGPFWHyJU.twu_IERwbLv2gkeSHxTwKiwD5guO80p lqAroCJloKzpHRLyAj2pHg2uFsj8J8s3sD7Eb0DtZynGQt5NeQs4t8Bd7sKjlo18PsVIp7Sl_mFf Nd87W3CzBoCMOZO6kwNvZ5n.w8a1lRhklamnuN0UIVxrwn01qrviOo_d5aGUgrPjH04qnuoJXnCS PUEj8SWe2Uply.RT4ZttPnjngBcREltsw42rqqC4RV_X.Q9ymA.Lc3viJPtfYp90QOtylkjyiv9Y xRtAuaX2JW3X2p1SidFDVNRHsps_dpPab9wIs0I5H5zcyYVKhE9suGMwkf18RfEvTFyQ3BqTprwA .Ed8o0_x60XFdSzYKie0am6uLS58Yn9tVKAViOPoPcvU6jSS3f2b95XZxP4hGleNjKv5pH9R_Duz 30sIbsk9ETyiA95aEPkwJnozfa28daRFYAsmjj0sxCVcAcnXtx13kOJQA.CLmIKHcPztgsqolil9 Hebl.LVnYb_jmcFkdxCw1RldYi1dAozyKUuz5Fhh3pcpP.FIsqN8Tv9Y0.8NDtMiQOCfUVjUD8G1 0EyCyI_AO0Rme9JLNfKH0a.17ArpFomX.rLLBL_yAp3A0sqEtFmHEfsDi81x9NPmpUOieQ2h7xLu cf3mf.9u5exz4a1tUlbtUyDlpO8Ww.iA4k9tpO.T6wOsAHzeyC.8Gti52T_oU3OoOrdmyfhf619z fpq52DzEFoaysI7irvo9DzF6qgGnv7g.U0OKWK1EhJ8i5.5dbUWB.03K7nzI7WxIriasTB60n5sW zG_NuaeO5r_6W5CDX9L_e54IZWdCUnm0xBCBcW2vbtzcCEAWon9dhxZo2DROzKsGZK_od2IqJo9a wzzwxDR50f.47_44HCWGSa1aazeVA_LiygE.dWtQ1oGQUkORhbh53GkaKQSK3P30uIprg1oKfvnl bsVRIzyW2vkkGL8ayNAX.MdW8TJ_an.ThbsRZcTBBDYyeLdQ1s8ugx87hme5EtDvOzrE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Wed, 22 Jan 2020 19:43:27 +0000 Date: Wed, 22 Jan 2020 19:43:24 +0000 (UTC) From: Shware Systems To: Joerg.Schilling@fokus.fraunhofer.de, eblake@redhat.com, bruno@clisp.org Cc: bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Message-ID: <1023355615.2714356.1579722204979@mail.yahoo.com> Subject: Re: Coordination on standardizing gettext() in future POSIX MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2714355_1647931963.1579722204978" References: <1023355615.2714356.1579722204979.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15077 aolandroid Mozilla/5.0 (Linux; Android 9; LM-G850 Build/PKQ1.190522.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.116 Mobile Safari/537.36 AolApp/5.11.1.1.2401 Content-Length: 4881 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.186.205 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 19:43:34 -0000 ------=_Part_2714355_1647931963.1579722204978 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It is not a matter of what I like or not, as that would mean adding somethi= ng way more flexible than gettext to the standard, it is if one implementat= ion choice, for technical reasons, can be seen as intrinsically more portab= le than another that choice has priority for standardization. Backwards com= patibility with non-portable behavior was only a priority for Issue 6=20 On Wednesday, January 22, 2020 Joerg Schilling wrote: Shware Systems wrote: > This is not invention, as even Solaris allows you to turn it off with -s,= as you point out. It may work fine for the charsets/charmap files Solaris = historically provides to have escapes active as the default, but this does = not equate to it being valid for all conforming charsets, if an application= makes use of localedef, that I see. As such, from a portability standpoint= , I view not processing escapes as the safer alternative. What should be the reason for making the standard incompatible to the exist= ing=20 practice since more than 30 years? Gettext is a SunOS invention and other implementations are expected to foll= ow=20 the definition from the reference implementation. Do you really like to require SunOS to loose backwads incompatiblity? J=C3=B6rg --=20 EMail:joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin =C2=A0 =C2=A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schil= y.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files= /' ------=_Part_2714355_1647931963.1579722204978 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

It is not a matter of what I like or not, as that would mean= adding something way more flexible than gettext to the standard, it is if = one implementation choice, for technical reasons, can be seen as intrinsica= lly more portable than another that choice has priority for standardization= . Backwards compatibility with non-portable behavior was only a priority fo= r Issue 6




On Wed= nesday, January 22, 2020 Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de> wrote:

Shware Systems <shwaresyst@aol.= com> wrote:

> This is not in= vention, as even Solaris allows you to turn it off with -s, as you point ou= t. It may work fine for the charsets/charmap files Solaris historically pro= vides to have escapes active as the default, but this does not equate to it= being valid for all conforming charsets, if an application makes use of lo= caledef, that I see. As such, from a portability standpoint, I view not pro= cessing escapes as the safer alternative.

What should be the reason for making the standard incompatible to the e= xisting
practice since more than 30 years?

Gettext is a SunOS invention and other implementati= ons are expected to follow
the definition from the refer= ence implementation.

Do you really lik= e to require SunOS to loose backwads incompatiblity?


J=C3=B6rg

--
EMail:= joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin
= =C2=A0 =C2=A0 joerg.schil= ling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://s= f.net/projects/schilytools/files/'
<= /html>
------=_Part_2714355_1647931963.1579722204978-- From MAILER-DAEMON Wed Jan 22 15:04:59 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuMFH-00071A-8e for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 15:04:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50702) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuMFD-000710-CD for bug-gettext@gnu.org; Wed, 22 Jan 2020 15:04:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuMFC-0008M7-00; Wed, 22 Jan 2020 15:04:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48650) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuMFA-0002WM-Dw for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 15:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuMF8-0008JO-Vu for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 15:04:52 -0500 Received: from sonic306-21.consmr.mail.ne1.yahoo.com ([66.163.189.83]:39435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuMF8-0008Hi-79 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 15:04:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1579723488; bh=/xUJRYb06LpLpYMkDfhumeLobbY3HPow5Inc8S7Tp2U=; h=Date:From:To:Cc:Subject:References:From:Subject; b=QFYhHuS1oy8Mexsd7T25R+Sm+skFkWRL6vIRU7o2upZ/rLHqovHCYPNd2awCu5YL7SoScdfxyvf1s9hnsidyHNCA2vD2VmdhVXsQ0+cT2MH/CKCWPDLQEg3hPju0UhUxSEqkEZseP9PzpKoUn//gEQPh5OeultKMjrC875hnBtaU1s68ODF1NPHFhPXoO0urGJOIZCCyj+hrAv+Y7TQWnlnweFTJTLTt7ly8b1Rs9fpp2ohvGXwNsNDnGIoVHU+MbjqEMmFueFT1z7rW6iInOUk0Zbiy5eJF8r4VcPDkif95lyyiXMQxpRcExAtRgNS4i0/Ok3692HkrgWNTQQ+GLw== X-YMail-OSG: .ktV_lwVM1kNGG_CLj4qd35NZdnLDJTqsBsXVWf.8xqB95BP9TlaFQjtV0yIO0G 0IDuSqFuRNNjwiMkjAtmo4hRxNJ3dqTaj5nV.mDRc49H3vfcOpLZTY56CUIahGCm_Zh6uhpa2Ehw rkleFekd_aBhrWIxEGTSs.URXQvq9lBVDqnNVME9foN5DLB8anwtSd7WIsfV9yIPkomoPWVFa58Z N_59AZGsCOQFkqKOPUX_FMV8EEV9CqL5Bl2ER3jRC9Y..DMg8wfs.BEHW0vz4RX0adPGF8dK34UE NCB1pGKsOMHJHyX_MrpV2pCyKbMxvLgqgLNKzKm6FLKoZtKltDa_WTzUg56zRopCWxUo7AISCkIO h60gHHAVfTRxrWj3uardpCfd9U4PtVp7QhM2K9wX3RvHfDlMVEXJ_jna9eXVrh3C8kRzRofXEJT. zJpqZ8kDPmYVyNOYfjlcWdiB1duKE90jZIS.iTPuRYvU4uKzznJHCXLtEKXsMP0Tg9S8AKJHysjB Jkag4j1E35JYsHbEz6QcXOtabpEqouHz5MkPe.mjb5iQIu6UO39lRFtkAhmma7mSBrgY2LBWIDC1 ou9buX392_5M.t2h.WmtrAfuX19cnPqJKvliZkAi2GK3sXgJMtXfBWF67mJ7UC9s9J7VIeyy5zRw lQwZlcE9iO3_E0jtu2_RLzLj1kSPsFwnfUsbyhqfU8EH0Pdr4EvOdHDqOHOsP1HsVkq29H6YtRBn cQWz9GtiUoGpCt_bJC8l5ynGQ0wjbxg1CeCPbW9LdDcO.gdQNAby44wU5It.gZhwisKTElgDgNv6 ttKI4FZEn8CmQlXhdHv696a_ZA96pd9JzoT6PwxtMa.LNoP1cHggK276QSKGd12qTW8vvhWoA3k. BlhUQb4cz5KoRh.wqgcrFrPXvWPlwp8MMFuoirs7qwg3jqfHN_o7Whw3ly7m5T2GmUSLjhs4xkUS Ymivfo2KW8M5H7Ife29y0XFGaZUdJfFfd4iILSTehWiAr4dtkuz6JwlSS.rb1a8zN_CsIuYhbWS3 DLEZnx8B8P9zmWvOvSLReRd_rJ3Pr6qaTKUbu_jm3Fz9m_aj8F4F8FcVyxavhrwXbrtHOZXZ2AvS RRpiOsw3oIJ.WXW.nIJa7O4FfaSNaEA_uocWxef1_Dzjj2EbcwKBKGrtHvF1U2vF1JXpv48QhrBY n32PEfbbp..oazD1t19Fd_Y4f6AsXkZNNMXx2zE505xVQXXoiirUMvdzlCym4WWDQphSDRse_d2n 1fhZkY07arNVJfdT6J8OB2RwvhWrci2WYXPp4EuxixSRmrMr4lwJl_d2eSDq4_t6TskYV7NJ45IC 2llp7GieyIZwQYcmCsj_OY.8- Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Wed, 22 Jan 2020 20:04:48 +0000 Date: Wed, 22 Jan 2020 20:04:44 +0000 (UTC) From: Shware Systems To: Joerg.Schilling@fokus.fraunhofer.de, eblake@redhat.com, bruno@clisp.org Cc: bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Message-ID: <350788890.2736474.1579723484549@mail.yahoo.com> Subject: Re: Coordination on standardizing gettext() in future POSIX MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2736473_2079504363.1579723484548" References: <350788890.2736474.1579723484549.ref@mail.yahoo.com> X-Mailer: WebService/1.1.15077 aolandroid Mozilla/5.0 (Linux; Android 9; LM-G850 Build/PKQ1.190522.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/79.0.3945.116 Mobile Safari/537.36 AolApp/5.11.1.1.2401 Content-Length: 5317 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 66.163.189.83 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 20:04:57 -0000 ------=_Part_2736473_2079504363.1579723484548 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry, hit Send early by accident. It is not a matter of what I like or not, as that would mean adding somethi= ng way more flexible than gettext to the standard; it is if one implementat= ion choice, for technical reasons, can be seen as intrinsically more portab= le than another that choice has priority for standardization. Backwards com= patibility with non-portable behavior was only a priority for Issue 6, as w= as explained to me before V6TC1 came out, to simplify the merge effort of 1= 003.1 with SUSV5. So, for Issue 8, if this means the Solaris version loses = out, so be it. On Wednesday, January 22, 2020 Joerg Schilling wrote: Shware Systems wrote: > This is not invention, as even Solaris allows you to turn it off with -s,= as you point out. It may work fine for the charsets/charmap files Solaris = historically provides to have escapes active as the default, but this does = not equate to it being valid for all conforming charsets, if an application= makes use of localedef, that I see. As such, from a portability standpoint= , I view not processing escapes as the safer alternative. What should be the reason for making the standard incompatible to the exist= ing=20 practice since more than 30 years? Gettext is a SunOS invention and other implementations are expected to foll= ow=20 the definition from the reference implementation. Do you really like to require SunOS to loose backwads incompatiblity? J=C3=B6rg --=20 EMail:joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin =C2=A0 =C2=A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schil= y.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files= /' ------=_Part_2736473_2079504363.1579723484548 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Sorry, hit Send early by accident.

It is not a matter of what I like or not, as that would mean= adding something way more flexible than gettext to the standard; it is if = one implementation choice, for technical reasons, can be seen as intrinsica= lly more portable than another that choice has priority for standardization= . Backwards compatibility with non-portable behavior was only a priority fo= r Issue 6, as was explained to me before V6TC1 came out, to simplify the me= rge effort of 1003.1 with SUSV5. So, for Issue 8, if this means the Solaris= version loses out, so be it.




On Wed= nesday, January 22, 2020 Joerg Schilling <Joerg.Schilling@fokus.fraunhofer.de> wrote:

Shware Systems <shwaresyst@aol.= com> wrote:

> This is not in= vention, as even Solaris allows you to turn it off with -s, as you point ou= t. It may work fine for the charsets/charmap files Solaris historically pro= vides to have escapes active as the default, but this does not equate to it= being valid for all conforming charsets, if an application makes use of lo= caledef, that I see. As such, from a portability standpoint, I view not pro= cessing escapes as the safer alternative.

What should be the reason for making the standard incompatible to the e= xisting
practice since more than 30 years?

Gettext is a SunOS invention and other implementati= ons are expected to follow
the definition from the refer= ence implementation.

Do you really lik= e to require SunOS to loose backwads incompatiblity?


J=C3=B6rg

--
EMail:= joerg@schily.net=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 (home) J=C3=B6rg Schilling D-13353 Berlin
= =C2=A0 =C2=A0 joerg.schil= ling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.org/private/ http://s= f.net/projects/schilytools/files/'
<= /html>
------=_Part_2736473_2079504363.1579723484548-- From MAILER-DAEMON Wed Jan 22 20:27:36 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuRHU-0000Cb-P5 for mharc-bug-gettext@gnu.org; Wed, 22 Jan 2020 20:27:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57847) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuJyV-0007DN-FT for bug-gettext@gnu.org; Wed, 22 Jan 2020 12:39:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuJyU-0000j8-JX; Wed, 22 Jan 2020 12:39:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55798) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuJyT-0007Jy-In for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:39:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuJyS-0000iF-B8 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:39:29 -0500 Received: from userp2120.oracle.com ([156.151.31.85]:36910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuJyS-0000do-18 for bug-gnu-gettext@gnu.org; Wed, 22 Jan 2020 12:39:28 -0500 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 00MHT03g105109; Wed, 22 Jan 2020 17:39:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=BzBwMg57089kLfS2HGsSD3dG8L+DK7JhsmGghSzJwxY=; b=O5mfK1l7Q/Pb4qNyHlC37kXQB3heQLbujWfK+UUCY7GehH4T+vMTlcLMiY//oYrjiJ+r 7sg6Nrq2xrw+FrA6bCAvpU+pH3CsD2Jz0fdkwc7+1WC+46FLd2kJSRUeD0THL9/quqJs uh/6wBxnZHrJtKTaDGoPqi/nIQRNMzMbmDJXV4i2knlF4172N08aMqOb4wile7y/bRyE I8qVWaRp++vHnvVDfPgYlisMLcRWMF5GRI6MQZq99VyRk8vqY8cqBj3DpuUuHf30kG2p W0jU6A1pI7UyCJNS91HW8omtZxitILpiUQ2KWOLA92vV9HSVrkHZNrFC9hQljc0YnUWJ dQ== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 2xktnrd5jt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Jan 2020 17:39:09 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id 00MHStdf093334; Wed, 22 Jan 2020 17:39:09 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3030.oracle.com with ESMTP id 2xpq7jqh72-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 22 Jan 2020 17:39:08 +0000 Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 00MHd0Sv007080; Wed, 22 Jan 2020 17:39:02 GMT Received: from [10.132.94.47] (/10.132.94.47) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 22 Jan 2020 09:39:00 -0800 Subject: Re: Coordination on standardizing gettext() in future POSIX To: Bruno Haible , Ulrich Drepper Cc: Joerg Schilling , shwaresyst@aol.com, Eric Blake , bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org References: <1818629942.2062507.1579632834343.ref@mail.yahoo.com> <5e281a04.DAzzCfnF0bWRCs5i%Joerg.Schilling@fokus.fraunhofer.de> <3694965.lUDvyMHbsL@omega> From: Alan Coopersmith Message-ID: Date: Wed, 22 Jan 2020 09:38:59 -0800 User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <3694965.lUDvyMHbsL@omega> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9508 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=810 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001220151 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9508 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=928 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-2001220151 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Wed, 22 Jan 2020 20:27:34 -0500 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2020 17:39:32 -0000 On 1/22/20 9:08 AM, Bruno Haible wrote: > Ulrich Drepper wrote: >>> Do you really like to require SunOS to loose backwads incompatiblity? >> >> Overly dramatic. You just need one mode that is POSIX compatible. Many GNU >> tools use POSIXLY_CORRECT_ > > The Solaris practice for keeping backward compatibility despite new evolutions > of the standards is to use /usr/xpg[457] directories. For example: > /usr/xpg4/bin/sh != /usr/bin/sh > /usr/xpg6/bin/ls != /usr/bin/ls > /usr/xpg7/bin/getconf != /usr/bin/getconf > > There could be a /usr/xpg8/bin/gettext if POSIX gettext(1) ends up specifying > a different behaviour than the current Solaris implementation has. This is absolutely correct, but only relevant if Solaris ever ends up fully implementing XPG8, which is unlikely at this point. (Realistically, we'd probably just make it a link to the /usr/gnu/bin/gettext we already ship and widely use to build FOSS packages that expect the GNU behaviors.) -- -Alan Coopersmith- alan.coopersmith@oracle.com Oracle Solaris Engineering - https://blogs.oracle.com/alanc [The preceding is my personal opinion, and not an official statement of Oracle.] From MAILER-DAEMON Thu Jan 23 06:06:44 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuaJw-0004ya-LU for mharc-bug-gettext@gnu.org; Thu, 23 Jan 2020 06:06:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56101) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuaJs-0004yM-NC for bug-gettext@gnu.org; Thu, 23 Jan 2020 06:06:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuaJo-0001ag-2I; Thu, 23 Jan 2020 06:06:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54049) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuaJn-00084i-1X for bug-gnu-gettext@gnu.org; Thu, 23 Jan 2020 06:06:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuaJk-0001Zb-Oa for bug-gnu-gettext@gnu.org; Thu, 23 Jan 2020 06:06:33 -0500 Received: from mx-relay93-hz2.antispameurope.com ([94.100.136.193]:47081) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuaJk-0001WZ-F4 for bug-gnu-gettext@gnu.org; Thu, 23 Jan 2020 06:06:32 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay93-hz2.antispameurope.com; Thu, 23 Jan 2020 12:06:22 +0100 Received: from einstein.fokus.fraunhofer.de (einstein.fokus.fraunhofer.de [10.147.9.210]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00NB6J9E018648 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 23 Jan 2020 12:06:19 +0100 Received: from bohr.fokus.fraunhofer.de (10.147.9.209) by einstein.fokus.fraunhofer.de (10.147.9.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Thu, 23 Jan 2020 12:05:40 +0100 Received: from rigel (10.147.9.171) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Thu, 23 Jan 2020 12:05:40 +0100 Date: Thu, 23 Jan 2020 12:05:40 +0100 From: Joerg Schilling To: CC: , , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e297e04.NxBIBzTjFmmjc525%Joerg.Schilling@fokus.fraunhofer.de> References: <1914124.4EnX6Drt6t@omega> <5e28306c.mFzw4LQaq7Q9uGDs%Joerg.Schilling@fokus.fraunhofer.de> <1795084.JFYmtoZ0A6@omega> In-Reply-To: <1795084.JFYmtoZ0A6@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: einstein.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 23.01.2020 08:25:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay93-hz2.antispameurope.com with D54F71CBA2A6 X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.3565 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 94.100.136.193 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2020 11:06:42 -0000 Bruno Haible wrote: > > eval echo $(gettext 'Hello World $$') > > No, this is not a reasonable way to use the 'gettext' program either. It fails > miserably when the translation of 'Hello World $$' contains a semicolon. Try OK, then use: printf "$(gettext 'Hello World %d')\\n" $$ If you use a modern printf(1) implementation (as available in "bosh"), you could even use: printf "$(gettext 'Hello World %2$d %1$d')\\n" 1 2 to be able to control the order of the output of arguments in a way that is specific to the target language. This is why I like to standardize this extension in POSIX. BTW: this extension is also available in /bin/printf on OpenSolaris and FreeBSD. I see no reason to introduce a completely new method instead of things that are already in POSIX or various UNIX implementations since a while. Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Fri Jan 24 08:26:33 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuyyn-0005XQ-H4 for mharc-bug-gettext@gnu.org; Fri, 24 Jan 2020 08:26:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33094) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuyyk-0005XI-U1 for bug-gettext@gnu.org; Fri, 24 Jan 2020 08:26:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuyyk-0007BV-Mq; Fri, 24 Jan 2020 08:26:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59227) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuyyd-0006VL-GH for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 08:26:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuyyW-00071n-Dj for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 08:26:18 -0500 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::6]:22307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuyyU-0006wU-HS for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 08:26:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1579872369; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=AfeBy+kRaT1OqWERhb00qiC8CDlsjYEZF1KSPNWBhoo=; b=h907CyWE9F2lW4F5o4g97sTv+o/R7+c3ulhD/yQDlRwyinSN3Pj8DHyV6oZ/nGfuAm mHv0sS0YU+BHi0dPEbQNLjcNXKlYZar264cjEyG9Xh3qphoUKFsgYTwpZ4bQ4VdbGwac kpwVtD3i1QRkIKSfFqiUruY2MY8QQz24Um8GbPL/soLJ13cy6vyQDQ3u/nEUCMk/r3hw 0Rl0ukzZkMLy+z2YIUHWnepcncG1+n9Pwb3ufYJDp8EJfJLlZOhkUiIqkzuQr9s9lguq ZZ/EBUg3RFcALKsW9ov3HG9ebROm7tr7m7nZPrLHZAykVLMa57aj02WMTl9gkLytcOUJ am5Q== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOH6fzxfs=" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 46.1.7 DYNA|AUTH) with ESMTPSA id d0b1daw0ODQ577P (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 24 Jan 2020 14:26:05 +0100 (CET) From: Bruno Haible To: Joerg Schilling Cc: eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: Re: Coordination on standardizing gettext() in future POSIX Date: Fri, 24 Jan 2020 14:26:05 +0100 Message-ID: <1621111.ui336kvbbJ@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: <5e297e04.NxBIBzTjFmmjc525%Joerg.Schilling@fokus.fraunhofer.de> References: <1795084.JFYmtoZ0A6@omega> <5e297e04.NxBIBzTjFmmjc525%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 13:26:32 -0000 J=F6rg Schilling wrote: > OK, then use: >=20 > printf "$(gettext 'Hello World %d')\\n" $$ This is a good solution to the problem of gettext with sentences with embedded arguments. I withdraw my objection about "half of the necessary API". The other objection, that we should avoid copying the echo(1) mess regarding escape sequences into gettext(1), still stands. > If you use a modern printf(1) implementation (as available in "bosh"), yo= u=20 > could even use: >=20 > printf "$(gettext 'Hello World %2$d %1$d')\\n" 1 2 >=20 > to be able to control the order of the output of arguments in a way that = is=20 > specific to the target language. ... > BTW: this extension is also available in /bin/printf on OpenSolaris and F= reeBSD. Yes, it would be good to have this %n$d syntax in 'printf' standardized by POSIX [1]. This way of allowing argument reordering by translators is supported by many programming languages. It would be good to have it portably supported in shell scripts as well. Bruno [1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html From MAILER-DAEMON Fri Jan 24 09:15:18 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iuzjy-0002Ji-CT for mharc-bug-gettext@gnu.org; Fri, 24 Jan 2020 09:15:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41476) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuzjv-0002HL-Ok for bug-gettext@gnu.org; Fri, 24 Jan 2020 09:15:16 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iuzjr-0007Aa-4z; Fri, 24 Jan 2020 09:15:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39425) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iuzjq-000189-NG for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 09:15:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuzjo-00073S-E4 for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 09:15:10 -0500 Received: from mx-relay43-hz2.antispameurope.com ([94.100.136.243]:60189) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iuzjo-0006kE-5J for bug-gnu-gettext@gnu.org; Fri, 24 Jan 2020 09:15:08 -0500 Received: from smtpsrv2.fokus.fraunhofer.de ([195.37.77.176]) by mx-relay43-hz2.antispameurope.com; Fri, 24 Jan 2020 15:14:56 +0100 Received: from bohr.fokus.fraunhofer.de (bohr.fokus.fraunhofer.de [10.147.9.209]) by smtpsrv2.fokus.fraunhofer.de (8.14.4/8.14.4) with ESMTP id 00OEEsJC015720 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Jan 2020 15:14:54 +0100 Received: from hahn.fokus.fraunhofer.de (10.147.9.208) by bohr.fokus.fraunhofer.de (10.147.9.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Fri, 24 Jan 2020 15:14:54 +0100 Received: from rigel (10.147.9.171) by hahn.fokus.fraunhofer.de (10.147.9.208) with Microsoft SMTP Server id 15.1.1913.5 via Frontend Transport; Fri, 24 Jan 2020 15:14:48 +0100 Date: Fri, 24 Jan 2020 15:14:48 +0100 From: Joerg Schilling To: CC: , , Subject: Re: Coordination on standardizing gettext() in future POSIX Message-ID: <5e2afbd8.7m6dDHcAOPAUe9RR%Joerg.Schilling@fokus.fraunhofer.de> References: <1795084.JFYmtoZ0A6@omega> <5e297e04.NxBIBzTjFmmjc525%Joerg.Schilling@fokus.fraunhofer.de> <1621111.ui336kvbbJ@omega> In-Reply-To: <1621111.ui336kvbbJ@omega> User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-KSE-ServerInfo: bohr.fokus.fraunhofer.de, 9 X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 24.01.2020 11:08:00 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-cloud-security-sender: joerg.schilling@fokus.fraunhofer.de X-cloud-security-recipient: bug-gnu-gettext@gnu.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay43-hz2.antispameurope.com with 5FCF3B85CDC X-cloud-security-connect: smtpsrv2.fokus.fraunhofer.de[195.37.77.176], TLS=1, IP=195.37.77.176 X-cloud-security: scantime:.1846 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 94.100.136.243 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2020 14:15:17 -0000 Bruno Haible wrote: > > If you use a modern printf(1) implementation (as available in "bosh"), you > > could even use: > > > > printf "$(gettext 'Hello World %2$d %1$d')\\n" 1 2 > > > > to be able to control the order of the output of arguments in a way that is > > specific to the target language. ... > > > BTW: this extension is also available in /bin/printf on OpenSolaris and FreeBSD. > > Yes, it would be good to have this %n$d syntax in 'printf' standardized > by POSIX [1]. This way of allowing argument reordering by translators is > supported by many programming languages. It would be good to have it > portably supported in shell scripts as well. Most platforms support it anyway. It has been introduced in 1988 for ksh88 and /bin/printf on SVr4/Solaris - but only usable for string parameters as: printf "Hello World %2$s %1$s\\n" 1 2 This simple (string only) variant is supported on: /bin/printf on Oracle Solaris but limited to 20 arguments only Most likely (as it is the same source) on HP-UX and AIX as well. ksh88 anywhere mksh a ksh88 clone The full version that supports any type of format strings (including %d, ...) is supported by: /bin/printf on OpenSolaris (SchilliX and Illlumos) and on FreeBSD ksh93 anywhere bosh anywhere zsh anywhere Not usable is this feature only with: /bin/printf on Linux, ... bash anywhere dash anywhere yash anywhere Jörg -- EMail:joerg@schily.net (home) Jörg Schilling D-13353 Berlin joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/' From MAILER-DAEMON Wed Jan 29 19:44:48 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1iwxws-0005Va-L3 for mharc-bug-gettext@gnu.org; Wed, 29 Jan 2020 19:44:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59210) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwxwo-0005V5-NL for bug-gettext@gnu.org; Wed, 29 Jan 2020 19:44:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iwxwm-0007tq-Ty; Wed, 29 Jan 2020 19:44:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57153) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iwxwm-0006kd-DZ for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 19:44:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwxwl-0007sr-E7 for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 19:44:40 -0500 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]:34536) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwxwl-0007oo-6k for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 19:44:39 -0500 Received: by mail-io1-xd2a.google.com with SMTP id z193so2035349iof.1 for ; Wed, 29 Jan 2020 16:44:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=+YuNjfjIbQuK+LdyoDbv4UgWL5RrkC7nWHMye+gfh1I=; b=JGdb4GhFR85eNp9fB7B1OY0iwvQ9h5J+Ye3nTC6qAhAPp+o945C13Xn68FJv9F+LL5 C8SMLiUcZ8kPR3nA8B7jiYvTq0wlovSkyACX7bGlV4XAXssXQO1PpexiFJyMRi6M3qzl GRUeZ0T/mJPIASEAk7/XfD8NTAiZDmI5pDOzVnGXiEKMBJfgRsJEUN4s9n/rTFluwrlP qciDR+KjEo3B/8tPGm29/btP/GBAlvyEJD4WQ7YEReA7x+dYUlRDK/yTEffMtSFIJXP2 w47u8Kezkf3GESTrrWMMZE7AUkaK22UrL9AD9bS+S6e5iydQ0opTaBsJUUR4h/Sd9HDE bObg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=+YuNjfjIbQuK+LdyoDbv4UgWL5RrkC7nWHMye+gfh1I=; b=KD8IScI/7mnQdH429rr9YFbljOveeTm6HmHZ9qmLZTiDs83JCkFDamqeEBCfcDCMw4 zz9d323iEyPSu1k1QwTb4pOxzMSK+JSiMFtywXP6ro6gvjNB2+d8mK2oDluv1EHtvdG9 XYH7UUV04BJd3p35AsyvvvI1LUzQvFocZUKUlTt6l4HeYDg9kDsS40s+a6b+fSfPWsMm Ct5R8PBrnqCFtEr/CzBi2S6/hW0HEBAM5lnf2XBLahVNfdFvTGypoBVXBhQdgQsI2Ump eb9jbUO8DwU2Zhu6e4TiSqA8QMk4hI8ifNC1pqKvTWQIDiI/Tnpxb2+hNwLtXGH10hlF cD9g== X-Gm-Message-State: APjAAAVKk8SyBKZTdurslP9kEhmnVHK81RVuCAikcOSl2Hylb2ZiBMSM BgZnZzsfzPl1H87HUHX17ZWL4CgleHMuO9z/HcvRY7grFaQ= X-Google-Smtp-Source: APXvYqy6jqjNjQxbFIKTQgb+fWNo1vmiAMiIcAaYXoqTl9sP81Z3K9yl+0A34xlOPrb2SLkroy/HtdUFBRGg62AKFK0= X-Received: by 2002:a05:6638:a31:: with SMTP id 17mr1578090jao.15.1580345077048; Wed, 29 Jan 2020 16:44:37 -0800 (PST) MIME-Version: 1.0 Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Wed, 29 Jan 2020 19:43:31 -0500 Message-ID: Subject: UBSan findings in GetText 0.20.1 To: bug-gnu-gettext@gnu.org Content-Type: multipart/mixed; boundary="000000000000f0e6b7059d50c2a4" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d2a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2020 00:44:44 -0000 --000000000000f0e6b7059d50c2a4 Content-Type: text/plain; charset="UTF-8" Hi Everyone, I'm building GetText 0.20.1 with UBsan and then running self-tests. The UBsan flags are -fsanitize=undefined -fno-sanitize-recover. I'm seeing four failures that don't show up under normal testing: make[5]: Entering directory '/home/jwalton/Build-Scripts/gettext-0.20.1/gettext-tools/tests' ... FAIL: msgattrib-properties-1 ... FAIL: msgexec-3 ... FAIL: msgfilter-3 ... FAIL: msguniq-4 ... It looks like there are some problems with NULL pointers (if I am parsing the UBsan messages properly). Attached is gettext-tools/tests/test-suite.log. Jeff --000000000000f0e6b7059d50c2a4 Content-Type: application/octet-stream; name="test-suite.log.zip" Content-Disposition: attachment; filename="test-suite.log.zip" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k600lfvd0 UEsDBBQAAgAIAEecPVBhOenV9QMAALMVAAAiABwAZ2V0dGV4dC10b29scy90ZXN0cy90ZXN0LXN1 aXRlLmxvZ1VUCQADhSQyXoYkMl51eAsAAQToAwAABOgDAADFV01v2zgQvetXDNBLi66cRI4bV0AO QZoC6WaRIE6BvQU0RVt0aJIlqcT99zuU/BVbMuWNi/hgSOLovTfkfOn8fL9fBABj5hybudgpJSwc d5LjzkkKjllnj/x/bAvuWEeocXS+L3z0AR5uHy5uUjjtdvHm7mIwSAG6XxO8Gfx9fedvzvD63+8X 12h1jJfVFZz6p5W9f3p1f3977y+jTgeoko5JZ9MU0oxpl6eQRFGFx6UT8Un0WsbgiWvN5bh0KwWp YGSYpDkIRYlgwC2+Zx0RgmUlzhwGPrIZd4ArrrApnJ19ekWTHIYmCdB0D0PTDdCcBmmcIRl3XEki 2lGeBigtcxXAxomtyzgacnk0JBYP+YUYiYJSWL6Xws3l48UNBgwlUioHNCdyzBayPmbs8dtV5+fD 97j/adOhuc2aCXiEOj/WdLb2KPmTHl0PbuN+v/c1Ptnt1squhW+hOHS5YSSrP6r/HZUL0HbcyZ7c RGZY4MyUyLkMC8SwXUJabkK3rZD1nPFqpipjRr7em6Co2tStCuXUjolzhg9jbZRmxnFmG7NpIbME Xdl3aNrr99JeCqaQjk8ZMGOUQf2FEKAVSmEGNLGWZUC82nExxQIMyV/wknP0Aw83Y1SgGxk4BZI9 4wtDVgKUQht0bvh1su4WmzG6vc/vJb5Ss0vviAtkqouM99K8UFSjuopotCnkaOpianNidHPcbEX2 5QfswlPNBdL6yjJShZwH7hZoc0YtTSfkmTSxb3H/QOMVuzIwIc0iKuQWEhwVDQq2BKCpzVeMXsID FXgOCpTYFFDi7szfQvJfG933HYOmUtMYMoZRrGCxNbEgjss9QmZVlatm29gXtiiaT2/TNNlHzYRo IpllcPXzMv5x117Qjh4xUthsMPTjXhSUMOcbkcfr+7r2vMJq5hM4HMT0zQNiBROi+fw5envXX0AF yNRwQqPQDt4OJ4w6/szgsrEcLdEChDaPDuMblobdTH70i84PtJMeLMCnf7tcyfZz2z5j/iuCdjqS P60jCcWx4FaH07M0q42mamU3ieBDw3QUdhStakkqgADLuMCQD7tSmtWyVCuBzJjiRuNmP7XrjmPr aqmWMAE637GjQ8wAS7RQPJRzSvSmoWcNKHRk5OXpYNnvwUJZRywitPDurjRceag17fa/+L3Fq9mX 01qXK/SABByBov1HKpxFKHHAZo5Ji1WgXNUGG7Z0awrwzdAOMFM72m2J8IY4QNEngh/cN9XnePoP sxbvrT+Cmia9xtBGRrKvDCwD5Zdg+TAkIVT5dK5DB4Em9QedByteQULgaFJf6wrSoihYarh20b7T 5u4MWgEHFDwTES5L3ojWuuhX6hj+A1BLAQIeAxQAAgAIAEecPVBhOenV9QMAALMVAAAiABgAAAAA AAEAAAC0gQAAAABnZXR0ZXh0LXRvb2xzL3Rlc3RzL3Rlc3Qtc3VpdGUubG9nVVQFAAOFJDJedXgL AAEE6AMAAAToAwAAUEsFBgAAAAABAAEAaAAAAFEEAAAAAA== --000000000000f0e6b7059d50c2a4-- From MAILER-DAEMON Wed Jan 29 23:02:42 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ix12Q-0002Ql-7R for mharc-bug-gettext@gnu.org; Wed, 29 Jan 2020 23:02:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46043) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ix12M-0002QT-Vt for bug-gettext@gnu.org; Wed, 29 Jan 2020 23:02:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ix12M-00068J-La; Wed, 29 Jan 2020 23:02:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43996) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ix12M-0007OI-5C for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 23:02:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ix12L-00066p-7S for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 23:02:38 -0500 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]:46531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ix12L-00065T-1V for bug-gnu-gettext@gnu.org; Wed, 29 Jan 2020 23:02:37 -0500 Received: by mail-il1-x12c.google.com with SMTP id t17so1856388ilm.13 for ; Wed, 29 Jan 2020 20:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=gi4ZD676mRzoUbsz3kgRv4XH49OBERmIWTPtDJgxgus=; b=dc8hH81SJrJ4U9Y+rx63AQCvtWpZus6ROXRIdjAITe1gIxZ3SZpm2ctJuiC7wb46Qy 1NoIoXy8h2vvKY3p/h2VukjYlNsZidwJVd8CFiv9ifDzVqWcD1reWmNbLXJHgvb+f1l0 qyUo8UsenihrFIJgqSXkOESgMS/w7qVRce9SRYhmeNbo7UyuUoxzSnQqVrDuhzsGTIDZ gtNm2pn9STUrLP2TfDpjU1LatxnKPFH644T5OHTeZ4ZpiGEZBt8xI/W8jXNHulmRPhnQ iZ8VuWc+CV6bBG/xt9UF1MYJyXPq/SR8ZUkuFgfCWdJqQI1yWAsIBXS163u3yzMg/GJj UVGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=gi4ZD676mRzoUbsz3kgRv4XH49OBERmIWTPtDJgxgus=; b=ZB47We7qA/As/QKHfAGW9slNqI8tUlq7HXKVKOqABr+qh2T8diN4gPUhmLmVfypCZ5 bYygm1iHDtDyehaKOM5RUYgIkflrveGuqY5gcAsBZIfNtRZyseqHQaeqihjFX0+si38q ucMScENFr7QtWBx0xl3geHs5+PgpXzV9yZ5sGPQ6q8eFZYKGGLpAmdhiQsgLZVjAEaHf aFOJ297KfhB2OuHcIHz9CuKV7fCXyss5dVdDZQg/SwsEzRd1Q9CbnhJkIFPXl1GUelAJ g27Y5Ed6RHg0vbaVfIC8JtprxqtYXPdAUnw4oL19Apz8D6Oiy9DPUYMOTkXX59bl/fLK ADtw== X-Gm-Message-State: APjAAAWU3l3V7V7myEy+dbG4eHKIgsYaK6QMfERTH2X0Jk7/TKnIOovF qF3Fnd959yRzSEbnr7sgdhyua3AcQ4pTFFo2DPacMvZa+wA= X-Google-Smtp-Source: APXvYqwj1kHkciaIBWUx5KRYaBzgG1/0kyBRvXZjD14odd0UD1P7dX0kuqOHimg3yQk6Fd7rNPfLpG/vnwjPGn/jI8k= X-Received: by 2002:a05:6e02:692:: with SMTP id o18mr2673668ils.238.1580356955602; Wed, 29 Jan 2020 20:02:35 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Wed, 29 Jan 2020 23:02:24 -0500 Message-ID: Subject: Re: UBSan findings in GetText 0.20.1 To: bug-gnu-gettext@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::12c X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2020 04:02:40 -0000 On Wed, Jan 29, 2020 at 7:43 PM Jeffrey Walton wrote: > > I'm building GetText 0.20.1 with UBsan and then running self-tests. > The UBsan flags are -fsanitize=undefined -fno-sanitize-recover. I'm > seeing four failures that don't show up under normal testing: > > make[5]: Entering directory > '/home/jwalton/Build-Scripts/gettext-0.20.1/gettext-tools/tests' > ... > FAIL: msgattrib-properties-1 > ... > FAIL: msgexec-3 > ... > FAIL: msgfilter-3 > ... > FAIL: msguniq-4 > ... The patch below clears the issue. It should also avoid a crash when the runtime library is Musl. Musl is less forgiving then glibc. The Musl folks prefer the crash so the program gets fixed. --- gettext-tools/src/read-properties.c +++ gettext-tools/src/read-properties.c @@ -582,7 +582,8 @@ /* Return the result. */ { unsigned char *utf8_string = XNMALLOC (utf8_buflen + 1, unsigned char); - memcpy (utf8_string, utf8_buffer, utf8_buflen); + if (utf8_buffer) + memcpy (utf8_string, utf8_buffer, utf8_buflen); utf8_string[utf8_buflen] = '\0'; return (char *) utf8_string; Jeff From MAILER-DAEMON Fri Jan 31 14:51:10 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ixcJq-0005rp-6W for mharc-bug-gettext@gnu.org; Fri, 31 Jan 2020 14:51:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34044) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixcJn-0005rT-13 for bug-gettext@gnu.org; Fri, 31 Jan 2020 14:51:08 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixcJm-0002cX-O9; Fri, 31 Jan 2020 14:51:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60225) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixcJm-0003tC-HY for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 14:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixcJl-0002Yq-65 for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 14:51:06 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:34214) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixcJl-0002Xm-1q; Fri, 31 Jan 2020 14:51:05 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id C4C2FA0F32; Fri, 31 Jan 2020 14:51:04 -0500 (EST) To: , bruno@clisp.org, ueno@gnu.org, bug-gnu-gettext@gnu.org Subject: [bug #57714] libintl: Unicode paths passed to bindtextdomain fail on Windows (when linked to the MSVCRT) X-PHP-Originating-Script: 1001:sendmail.php From: X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: gettext X-Savane-Tracker: bugs X-Savane-Item-ID: 57714 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15 X-Apparently-From: 71.112.205.182 (Savane authenticated user pastdue) Message-Id: <20200131-195103.sv178154.36124@savannah.gnu.org> References: In-Reply-To: Date: Fri, 31 Jan 2020 14:51:04 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2020 19:51:08 -0000 URL: Summary: libintl: Unicode paths passed to bindtextdomain fail on Windows (when linked to the MSVCRT) Project: GNU gettext Submitted by: pastdue Submitted on: Fri 31 Jan 2020 07:51:03 PM UTC Category: End-user / runtime Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: == Description: == libintl fails to load message catalogs from dirnames containing non-ASCII UTF-8 characters *Environment:* Windows *Compiler:* MSVC, & presumably anything else that links to (any version of) the MSVCRT == To Reproduce: == With a Windows build linked to the MSVCRT: * Call *bindtextdomain* with a UTF-8 dirname, containing characters outside of the ASCII range (as works on other platforms) == Expected Behavior: == libintl succeeds at finding message catalogs in the valid UTF-8 dirname == Actual Behavior: == libintl fails to load message catalogs == Cause: == *gettext-runtime/intl/loadmsgcat.c* uses *open() * internally, which does *not* support / expect UTF-8 filenames on the MSVCRT == Solution: == *gettext-runtime/intl/loadmsgcat.c*: Provide a wrapper for *open()* that converts the input _char*_ to a UTF-16 _wchar_t*_ and then calls *_wopen() *, which properly handles a Unicode path I've attached an example patch (for an earlier version of libintl). But note: the example patch requires linking to kernel32.lib on Windows for _MultiByteToWideChar_. If you have an alternative recommendation for converting UTF-8 char* to UTF-16 wchar_t* that would fit an upstream patch better, please let me know. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 31 Jan 2020 07:51:03 PM UTC Name: example_patch.txt Size: 1KiB By: pastdue _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ From MAILER-DAEMON Fri Jan 31 16:01:13 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ixdPd-0000tq-AO for mharc-bug-gettext@gnu.org; Fri, 31 Jan 2020 16:01:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56976) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixdPa-0000rc-FR for bug-gettext@gnu.org; Fri, 31 Jan 2020 16:01:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixdPa-00009E-0J; Fri, 31 Jan 2020 16:01:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54800) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixdPJ-0006ga-T9 for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 16:01:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixdPF-0008Qd-Lq for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 16:00:51 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:43112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixdPA-0008NR-SZ; Fri, 31 Jan 2020 16:00:48 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id AB2F5A0F2C; Fri, 31 Jan 2020 16:00:44 -0500 (EST) To: Bruno Haible , , Petr Pisar , ueno@gnu.org, bug-gnu-gettext@gnu.org Subject: [bug #56863] gettext.h license is viral X-PHP-Originating-Script: 1001:sendmail.php From: X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: gettext X-Savane-Tracker: bugs X-Savane-Item-ID: 56863 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15 X-Apparently-From: 71.112.205.182 (Savane authenticated user pastdue) Message-Id: <20200131-210044.sv178154.35596@savannah.gnu.org> References: <20190906-083053.sv60014.38323@savannah.gnu.org> <20190914-153413.sv1871.49787@savannah.gnu.org> In-Reply-To: <20190914-153413.sv1871.49787@savannah.gnu.org> Date: Fri, 31 Jan 2020 16:00:44 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2020 21:01:11 -0000 Follow-up Comment #1, bug #56863 (project gettext): Is there a standard for this sort of exception that applies to alternatives to Autoconf as well? Or perhaps it would be better to use the same license as libintl.h? (LGPL?) _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ From MAILER-DAEMON Fri Jan 31 19:07:58 2020 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1ixgKM-0005PN-PB for mharc-bug-gettext@gnu.org; Fri, 31 Jan 2020 19:07:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixdoH-0008Hb-Py for bug-gettext@gnu.org; Fri, 31 Jan 2020 16:26:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixdoG-0006bh-Ug; Fri, 31 Jan 2020 16:26:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35279) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixdoG-0003Vj-Gy for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 16:26:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixdoF-0006ZN-EF for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 16:26:40 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:57293) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixdoF-0006XA-8R for bug-gnu-gettext@gnu.org; Fri, 31 Jan 2020 16:26:39 -0500 Received: from chazelas.org (unknown [2.127.75.28]) (Authenticated sender: stephane@chazelas.org) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 591B1100002; Fri, 31 Jan 2020 21:26:34 +0000 (UTC) Date: Fri, 31 Jan 2020 21:26:33 +0000 From: Stephane Chazelas To: Joerg Schilling Cc: bruno@clisp.org, eblake@redhat.com, bug-gnu-gettext@gnu.org, austin-group-l@opengroup.org Subject: About printf %2$s (Was: Coordination on standardizing gettext() in future POSIX) Message-ID: <20200131212633.rztyboyeozj7n332@chazelas.org> References: <1795084.JFYmtoZ0A6@omega> <5e297e04.NxBIBzTjFmmjc525%Joerg.Schilling@fokus.fraunhofer.de> <1621111.ui336kvbbJ@omega> <5e2afbd8.7m6dDHcAOPAUe9RR%Joerg.Schilling@fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e2afbd8.7m6dDHcAOPAUe9RR%Joerg.Schilling@fokus.fraunhofer.de> User-Agent: NeoMutt/20180716 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Fri, 31 Jan 2020 19:07:56 -0500 X-BeenThere: bug-gettext@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2020 21:26:43 -0000 2020-01-24 15:14:48 +0100, Joerg Schilling: [...] > > > printf "$(gettext 'Hello World %2$d %1$d')\\n" 1 2 > > > > > > to be able to control the order of the output of arguments in a way that is > > > specific to the target language. ... > > > > > BTW: this extension is also available in /bin/printf on OpenSolaris and FreeBSD. [...] > Most platforms support it anyway. It has been introduced in 1988 for ksh88 and > /bin/printf on SVr4/Solaris - but only usable for string parameters as: > > printf "Hello World %2$s %1$s\\n" 1 2 [...] > mksh a ksh88 clone [...] ksh88 had no printf builtin. You might have been mislead by Solaris' /usr/xpg4/bin/sh On Solaris 11, $ /usr/xpg4/bin/sh -c 'type printf' printf is a shell builtin But $ truss -ft execve /usr/xpg4/bin/sh -c 'printf "x"' 1382: execve("/usr/xpg4/bin/sh", 0x7FEF43B27CC8, 0x7FEF43B27CE8) argc = 3 1383: execve("/usr/bin/getconf", 0x7FEF43B27A70, 0x7FEF43B27CE8) argc = 2 1382: execve("/usr/bin/printf", 0xFA6897198, 0xFA68971E0) argc = 2 No idea what that undocumented "builtin" does other than invoking the standalone printf utility (still looked up in $PATH) mksh has no printf builtin either AFAIK, the printf utility is a POSIX invention (ksh93 release notes do mention the POSIX origin), possibly inspired by research Unix 10th edition which had a printf utility (but not %b for instance) possibly from as far back as 1986 (if we're to beleive the timestamp of printf.c at https://www.tuhs.org/Archive/Distributions/Research/Dan_Cross_v10/v10src.tar.bz2 $ tar tvf v10src.tar.bz2 cmd/printf.c -rw-rw-r-- root/root 3621 1986-07-29 20:40 cmd/printf.c The Debian build of mksh (maintained by the maintainer of mksh) also generates a lksh executable which includes a printf builtin but that builtin doesn't support %2$s and I beleive is derived from code of the standalone printf utility in mirOS (based on OpenBSD). mksh is derived from pdksh. pdksh (itself based on the Forsyth shell, another clone of SysV sh) was intended as a limited clone of ksh88, but mksh has incorporated features of ksh93, zsh and bash and some of its own (some of which copied by bash) since. I don't know where the %2$x format in printf(3) comes from. -- Stephane