From unknown Sun Jun 22 22:48:03 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#41521] [PATCH] build: substitute*: Fix typo in example. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 May 2020 07:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41521 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41521@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15903929037399 (code B ref -1); Mon, 25 May 2020 07:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2020 07:48:23 +0000 Received: from localhost ([127.0.0.1]:39688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7qQ-0001vH-PW for submit@debbugs.gnu.org; Mon, 25 May 2020 03:48:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:43050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7qQ-0001vA-79 for submit@debbugs.gnu.org; Mon, 25 May 2020 03:48:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd7qP-0001hR-UI for guix-patches@gnu.org; Mon, 25 May 2020 03:48:21 -0400 Received: from flashner.co.il ([178.62.234.194]:53196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd7qP-0005CT-6V for guix-patches@gnu.org; Mon, 25 May 2020 03:48:21 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id E52A34005F; Mon, 25 May 2020 07:48:19 +0000 (UTC) From: Efraim Flashner Date: Mon, 25 May 2020 10:47:44 +0300 Message-Id: <20200525074744.13164-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 01:51:27 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * guix/build/utils.scm (substitute*): Fix typo in example in docstring, use consistent variable names. --- The variable is 'letters' on the line above, so it should be 'letters' on the replacement line too. --- guix/build/utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/utils.scm b/guix/build/utils.scm index 419c10195b..bcae0f758a 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -800,7 +800,7 @@ sub-expression. For example: ((\"hello\") \"good morning\\n\") ((\"foo([a-z]+)bar(.*)$\" all letters end) - (string-append \"baz\" letter end))) + (string-append \"baz\" letters end))) Here, anytime a line of FILE contains \"hello\", it is replaced by \"good morning\". Anytime a line of FILE matches the second regexp, ALL is bound to -- 2.26.2 From unknown Sun Jun 22 22:48:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Efraim Flashner Subject: bug#41521: closed (Re: [PATCH] build: substitute*: Fix typo in example.) Message-ID: References: <20200525075530.GC3698@E5400> <20200525074744.13164-1-efraim@flashner.co.il> X-Gnu-PR-Message: they-closed 41521 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 41521@debbugs.gnu.org Date: Mon, 25 May 2020 07:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1590393422-8206-1" This is a multi-part message in MIME format... ------------=_1590393422-8206-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41521: [PATCH] build: substitute*: Fix typo in example. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41521@debbugs.gnu.org. --=20 41521: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41521 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1590393422-8206-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41521-done) by debbugs.gnu.org; 25 May 2020 07:56:14 +0000 Received: from localhost ([127.0.0.1]:39715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7y2-00027K-Da for submit@debbugs.gnu.org; Mon, 25 May 2020 03:56:14 -0400 Received: from flashner.co.il ([178.62.234.194]:54394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7y0-000274-9J for 41521-done@debbugs.gnu.org; Mon, 25 May 2020 03:56:12 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 83F8140116 for <41521-done@debbugs.gnu.org>; Mon, 25 May 2020 07:56:05 +0000 (UTC) Date: Mon, 25 May 2020 10:55:30 +0300 From: Efraim Flashner To: 41521-done@debbugs.gnu.org Subject: Re: [PATCH] build: substitute*: Fix typo in example. Message-ID: <20200525075530.GC3698@E5400> References: <20200525074744.13164-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qtZFehHsKgwS5rPz" Content-Disposition: inline In-Reply-To: <20200525074744.13164-1-efraim@flashner.co.il> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 41521-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --qtZFehHsKgwS5rPz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Patch pushed to core-updates --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qtZFehHsKgwS5rPz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl7LefIACgkQQarn3Mo9 g1HZ7A/5Ae3UnFjhscKBtiuVUA1c0p3ZYdTFVyBR0/26WGMPCRr3YjZequFQrBy0 mh8SmiTD4t2vlmnsoNK3YvIENZIhg2wHMdPrsKg3Vi0ZDTVGhAo/h2mN4goJykaG thW3rQ38VrpKppaClsgYaY/glqinV5Zn74/M2xlob/WiHsDBq0ns5419JeFEyeFs 1pqeZT36f6gy9Qtz+UqfO+NhsYDc4xx/zw0J7+lp2yaZZc4u8ODYlCSUerAg2xmh coqK7eDyZjf+VlPVzs5F6UDMc9hKHmkho8/X6oDuuNgGuZSfKS0B3MtErMBz4Bnu E1KkBfVE/DZyfs3pRQcMuVkB96eN8K7Aue4RIJRbMGtID67ihTrtafV35YlrXGXh 17cYC/HwvYrtLmssikwl6HgVzGMBxBWfuYbwM5YY7kX12aDe5/FHgTKJgeWA98q9 vraCtl+YeEU/3bX5cI/Jc4Bney+6P7BUVcpV6MMNRchJMBTj3onFhym3EEsBfgjy pesLRvWeaxeuNcPEZ+pSEdnTXkkEUOaLuY2fe4SHLzQnNMAXC/3gz5krZa4KBoIV HGaY/f1WDw3CZI3KkgTL+lUq1dsticgsvuuwa48DxSomKZYA4bg0HSsycYd1tCxE 8bQwhJYRMScTjXbKt3/nrgRDyMafUESOXbmXer6AcnXeA5ba6EM= =8HiL -----END PGP SIGNATURE----- --qtZFehHsKgwS5rPz-- ------------=_1590393422-8206-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 May 2020 07:48:23 +0000 Received: from localhost ([127.0.0.1]:39688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7qQ-0001vH-PW for submit@debbugs.gnu.org; Mon, 25 May 2020 03:48:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:43050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jd7qQ-0001vA-79 for submit@debbugs.gnu.org; Mon, 25 May 2020 03:48:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jd7qP-0001hR-UI for guix-patches@gnu.org; Mon, 25 May 2020 03:48:21 -0400 Received: from flashner.co.il ([178.62.234.194]:53196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jd7qP-0005CT-6V for guix-patches@gnu.org; Mon, 25 May 2020 03:48:21 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id E52A34005F; Mon, 25 May 2020 07:48:19 +0000 (UTC) From: Efraim Flashner To: guix-patches@gnu.org Subject: [PATCH] build: substitute*: Fix typo in example. Date: Mon, 25 May 2020 10:47:44 +0300 Message-Id: <20200525074744.13164-1-efraim@flashner.co.il> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/25 01:51:27 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * guix/build/utils.scm (substitute*): Fix typo in example in docstring, use consistent variable names. --- The variable is 'letters' on the line above, so it should be 'letters' on the replacement line too. --- guix/build/utils.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/utils.scm b/guix/build/utils.scm index 419c10195b..bcae0f758a 100644 --- a/guix/build/utils.scm +++ b/guix/build/utils.scm @@ -800,7 +800,7 @@ sub-expression. For example: ((\"hello\") \"good morning\\n\") ((\"foo([a-z]+)bar(.*)$\" all letters end) - (string-append \"baz\" letter end))) + (string-append \"baz\" letters end))) Here, anytime a line of FILE contains \"hello\", it is replaced by \"good morning\". Anytime a line of FILE matches the second regexp, ALL is bound to -- 2.26.2 ------------=_1590393422-8206-1--