From unknown Sun Jun 15 07:58:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41539 <41539@debbugs.gnu.org> To: bug#41539 <41539@debbugs.gnu.org> Subject: Status: [PATCH 1/2] size: Document that positional arguments can be store items. Reply-To: bug#41539 <41539@debbugs.gnu.org> Date: Sun, 15 Jun 2025 14:58:13 +0000 retitle 41539 [PATCH 1/2] size: Document that positional arguments can be s= tore items. reassign 41539 guix-patches submitter 41539 Pierre Neidhardt severity 41539 normal tag 41539 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 26 09:39:00 2020 Received: (at submit) by debbugs.gnu.org; 26 May 2020 13:39:01 +0000 Received: from localhost ([127.0.0.1]:44430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZnI-0000IM-Ie for submit@debbugs.gnu.org; Tue, 26 May 2020 09:39:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:39700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZn1-0000Hz-SU for submit@debbugs.gnu.org; Tue, 26 May 2020 09:38:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdZn1-0001Vd-Lm for guix-patches@gnu.org; Tue, 26 May 2020 09:38:43 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:39691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdZn0-0007Xy-9A for guix-patches@gnu.org; Tue, 26 May 2020 09:38:43 -0400 X-Originating-IP: 78.248.96.161 Received: from localhost.localdomain (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id C3DE2C0005 for ; Tue, 26 May 2020 13:38:38 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH 1/2] size: Document that positional arguments can be store items. Date: Tue, 26 May 2020 15:38:30 +0200 Message-Id: <20200526133830.4438-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@ambrevar.xyz; helo=relay6-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/26 09:38:39 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * guix/scripts/size.scm (show-help): Mention STORE-ITEM positional argument alternative. --- guix/scripts/size.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 2446b84587..c42f4f7782 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -230,8 +230,8 @@ the name of a PNG file." ;;; Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit 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.1 (--) * guix/scripts/size.scm (show-help): Mention STORE-ITEM positional argument alternative. --- guix/scripts/size.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 2446b84587..c42f4f7782 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -230,8 +230,8 @@ the name of a PNG file." ;;; (define (show-help) - (display (G_ "Usage: guix size [OPTION]... PACKAGE -Report the size of PACKAGE and its dependencies.\n")) + (display (G_ "Usage: guix size [OPTION]... PACKAGE|STORE-ITEM +Report the size of the PACKAGE or STORE-ITEM, with its dependencies.\n")) (display (G_ " --substitute-urls=URLS fetch substitute from URLS if they are authorized")) -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 26 09:40:59 2020 Received: (at 41539) by debbugs.gnu.org; 26 May 2020 13:40:59 +0000 Received: from localhost ([127.0.0.1]:44440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZpA-0000M7-1y for submit@debbugs.gnu.org; Tue, 26 May 2020 09:40:59 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:50391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZp7-0000Ls-Qx for 41539@debbugs.gnu.org; Tue, 26 May 2020 09:40:54 -0400 Received: from localhost.localdomain (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 0F724200002 for <41539@debbugs.gnu.org>; Tue, 26 May 2020 13:40:46 +0000 (UTC) From: Pierre Neidhardt To: 41539@debbugs.gnu.org Subject: [PATCH 2/2] doc: Add example to calculate the size a system. Date: Tue, 26 May 2020 15:40:41 +0200 Message-Id: <20200526134041.6014-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * doc/guix.texi (Invoking `guix size'): Add guix size example for store item. --- doc/guix.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 4dbbf96db9..0c4067b52e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -10110,6 +10110,13 @@ libraries. (That libc and GCC's libraries represent a la [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: 41539 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.2 (-) * doc/guix.texi (Invoking `guix size'): Add guix size example for store item. --- doc/guix.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 4dbbf96db9..0c4067b52e 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -10110,6 +10110,13 @@ libraries. (That libc and GCC's libraries represent a large fraction of the closure is not a problem @i{per se} because they are always available on the system anyway.) +Since the command also accepts store file names, assessing the size of +a build result is straightforward: + +@example +guix size $(guix system build config.scm) +@end example + When the package(s) passed to @command{guix size} are available in the store@footnote{More precisely, @command{guix size} looks for the @emph{ungrafted} variant of the given package(s), as returned by -- 2.26.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 28 17:19:47 2020 Received: (at 41539) by debbugs.gnu.org; 28 May 2020 21:19:48 +0000 Received: from localhost ([127.0.0.1]:53146 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jePwE-00042v-Os for submit@debbugs.gnu.org; Thu, 28 May 2020 17:19:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jePwC-00042i-MP for 41539@debbugs.gnu.org; Thu, 28 May 2020 17:19:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41479) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jePw6-0004mL-QM; Thu, 28 May 2020 17:19:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39884 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jePw6-0000Pv-Eo; Thu, 28 May 2020 17:19:34 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Pierre Neidhardt Subject: Re: [bug#41539] [PATCH 1/2] size: Document that positional arguments can be store items. References: <20200526133830.4438-1-mail@ambrevar.xyz> Date: Thu, 28 May 2020 23:19:32 +0200 In-Reply-To: <20200526133830.4438-1-mail@ambrevar.xyz> (Pierre Neidhardt's message of "Tue, 26 May 2020 15:38:30 +0200") Message-ID: <87lflbahaz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41539 Cc: 41539@debbugs.gnu.org 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: -3.3 (---) Hi, Pierre Neidhardt skribis: > * guix/scripts/size.scm (show-help): Mention STORE-ITEM positional argume= nt > alternative. [...] > * doc/guix.texi (Invoking `guix size'): Add guix size example for store i= tem. [...] > +@example > +guix size $(guix system build config.scm) Please use backquotes instead of $(=E2=80=A6), which is Bash-specific. Otherwise LGTM, thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 05:25:25 2020 Received: (at 41539) by debbugs.gnu.org; 29 May 2020 09:25:26 +0000 Received: from localhost ([127.0.0.1]:53814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebGX-0003Bt-KZ for submit@debbugs.gnu.org; Fri, 29 May 2020 05:25:25 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:41227) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebGV-0003Bd-VQ for 41539@debbugs.gnu.org; Fri, 29 May 2020 05:25:24 -0400 X-Originating-IP: 78.248.96.161 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id EE47BC000C; Fri, 29 May 2020 09:25:16 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#41539] [PATCH 1/2] size: Document that positional arguments can be store items. In-Reply-To: <87lflbahaz.fsf@gnu.org> References: <20200526133830.4438-1-mail@ambrevar.xyz> <87lflbahaz.fsf@gnu.org> Date: Fri, 29 May 2020 11:25:15 +0200 Message-ID: <87zh9rf5z8.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 41539 Cc: 41539@debbugs.gnu.org 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: -0.2 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Pierre Neidhardt skribis: > >> * guix/scripts/size.scm (show-help): Mention STORE-ITEM positional argum= ent >> alternative. > > [...] > >> * doc/guix.texi (Invoking `guix size'): Add guix size example for store = item. > > [...] > >> +@example >> +guix size $(guix system build config.scm) > > Please use backquotes instead of $(=E2=80=A6), which is Bash-specific. Actually, it's not, $(...) is POSIX (you can test with Dash). Backquotes are deprecated and have the downside of not nesting. > Otherwise LGTM, thank you! OK to merge, then? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7Q1PsACgkQm9z0l6S7 zH/4vwf/ecja1h904WVCF4uq0f1gAMak15suquikaOcg1KDq+uslcMyTLZGC2Fyv eTaCrzOSU31QRifY05pKwHESoIzx/V1RoP7KCxnOsk9oJ3ZoDvZ9g4I/lypQVqeG zaSpyQzGB6/hS04NH98fW+i3R4sqUgcxURLN8Wh1QCE/hCE7fntngJyojPFuX2Mo aH5Jlwm69AuBFdZ0IlGP009/H53Ez/0z0slGZ8oB0hATqz+0yOWsuSBdAuay6kdk eKqhtqWdbV2l/S9l3UyYYIxmti99XxpMeXTreDJ9SgdpjJKhYXkZTgUpZYJxgl5F aWU55m42JoNQBPwPMN4JQdRnREzTjg== =U7DI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 05:57:04 2020 Received: (at 41539) by debbugs.gnu.org; 29 May 2020 09:57:05 +0000 Received: from localhost ([127.0.0.1]:53845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebky-0003vq-Uy for submit@debbugs.gnu.org; Fri, 29 May 2020 05:57:04 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:44238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebkt-0003vX-4l for 41539@debbugs.gnu.org; Fri, 29 May 2020 05:56:51 -0400 Received: by mail-qt1-f173.google.com with SMTP id c12so1389623qtq.11 for <41539@debbugs.gnu.org>; Fri, 29 May 2020 02:56:47 -0700 (PDT) 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:content-transfer-encoding; bh=Trnp3OBxKf1zgj89oSVajDIzTE92Czxw2I0B2mLk7Ek=; b=sK9HI9aCKTkH45t0x2fExH4CaVRqOPY2PJa4od+F4lzFXJs/Z1ukPlJs36n5kuLXIu JrPrtgpICsbbh6KVEE4uzw0+Mg1V7gGt9URsHUIowOcJBqsX1sKWIHDHFV4rTOd7DUAQ Gv0i2zPVKQKOq7ZdHhlmPSGa9jGMfzA3gbU8v2mKKIQN4pJ9yV+Iz8yUzrs9pBrNYRhF IF7IZMOrXBpfR+Nhq2n2jFQfCo7Yt9ORLEqvIJtEczjUnkB5EV6h07ZZiV8ZqaqhoYIF aLGHvowimrd8VwxUgti5RxG2kQV1DO6DxqlfuQbBm67mADVWzuUGVbNMSabguF3wg9G8 OAgw== 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:content-transfer-encoding; bh=Trnp3OBxKf1zgj89oSVajDIzTE92Czxw2I0B2mLk7Ek=; b=Z4Fs7vqGQELQGd89Q89pKmmUQi9oGmXuGSabiQ4cVL3n8sHwueMk/6i0kGcPPTNMyX cKsg/9233i1YwKo7Ru1Htn6VAd3s6CDwtMxO4nr9itjjgWI7KHva2V5+pRDUGh9Y7Ar4 CwOmXrp8ECdLdFBFSC1avFCwAhe/SqBd/+b0t5xmZKIkVwaPoANJBEFF9n0TIb+O1eEw +h+uln7akFY1pRkqvKg3xxW84h/AETT0AZFWIz58EqtgRq+kMvMfrFXf0JkEodmO9xu6 czuKUuHRPOty9Srljm766iTe81kNOXxMw9+Pma1UegAYJr5g7Qb6jygmMHo/zo8w3GYB Vw6w== X-Gm-Message-State: AOAM532RNT864IR9thLPkoDcdUtQ3+p1mcLq9gfOcmh+iT1mAJZJq5kt wJ9uvd9rPAwCJTTLB80Nr+8sJ5PI+sLqEVh7yb0= X-Google-Smtp-Source: ABdhPJw+vIcTO3iFSi2ei4vOI+o61CF+PbAeW1DrtN50oUQoiaYilPEm7G3xXQlG/EFq0laKrNZuOEz2W4prHSepwY0= X-Received: by 2002:ac8:42c3:: with SMTP id g3mr1079515qtm.313.1590746201467; Fri, 29 May 2020 02:56:41 -0700 (PDT) MIME-Version: 1.0 References: <20200526133830.4438-1-mail@ambrevar.xyz> <87lflbahaz.fsf@gnu.org> <87zh9rf5z8.fsf@ambrevar.xyz> In-Reply-To: <87zh9rf5z8.fsf@ambrevar.xyz> From: zimoun Date: Fri, 29 May 2020 11:56:30 +0200 Message-ID: Subject: Re: [bug#41539] [PATCH 1/2] size: Document that positional arguments can be store items. To: Pierre Neidhardt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41539 Cc: 41539@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= 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 (-) Dear, On Fri, 29 May 2020 at 11:26, Pierre Neidhardt wrote: > >> +@example > >> +guix size $(guix system build config.scm) > > > > Please use backquotes instead of $(=E2=80=A6), which is Bash-specific. > > Actually, it's not, $(...) is POSIX (you can test with Dash). > Backquotes are deprecated and have the downside of not nesting. Yes, $(...) is POSIX, AFAIK. And let quote what POSIX says: "Because of these inconsistent behaviors, the backquoted variety of command substitution is not recommended for new applications that nest command substitutions or attempt to embed complex scripts." https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html#ta= g_23_02_06_03 (I do not know if it is the latest version of the document.) Well, $(...) is already used in the manual. For example, X11 fonts section because of nested. But elsewhere not, see e.g., invoking guix archive or Nteworking Services or Invoking guix system sections. https://guix.gnu.org/manual/devel/en/guix.html#X11-Fonts https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-archive https://guix.gnu.org/manual/devel/en/guix.html#Networking-Services https://guix.gnu.org/manual/devel/en/guix.html#Invoking-guix-system Therefore, only one should be used. And $(...) is better. So I would be in favour to replace all the backquotes by $(...) in the manual. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 06:10:13 2020 Received: (at 41539) by debbugs.gnu.org; 29 May 2020 10:10:13 +0000 Received: from localhost ([127.0.0.1]:53858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebxh-0004GW-RV for submit@debbugs.gnu.org; Fri, 29 May 2020 06:10:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jebxf-0004G8-OG for 41539@debbugs.gnu.org; Fri, 29 May 2020 06:10:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56355) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jebxZ-0001ty-Ft; Fri, 29 May 2020 06:09:53 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42412 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jebxY-00071j-T3; Fri, 29 May 2020 06:09:53 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#41539] [PATCH 1/2] size: Document that positional arguments can be store items. References: <20200526133830.4438-1-mail@ambrevar.xyz> <87lflbahaz.fsf@gnu.org> <87zh9rf5z8.fsf@ambrevar.xyz> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Prairial an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 29 May 2020 12:09:51 +0200 In-Reply-To: (zimoun's message of "Fri, 29 May 2020 11:56:30 +0200") Message-ID: <87pnan3vdc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41539 Cc: 41539@debbugs.gnu.org, Pierre Neidhardt 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 (-) Hi, zimoun skribis: > On Fri, 29 May 2020 at 11:26, Pierre Neidhardt wrote: > >> >> +@example >> >> +guix size $(guix system build config.scm) >> > >> > Please use backquotes instead of $(=E2=80=A6), which is Bash-specific. >> >> Actually, it's not, $(...) is POSIX (you can test with Dash). >> Backquotes are deprecated and have the downside of not nesting. > > Yes, $(...) is POSIX, AFAIK. > And let quote what POSIX says: "Because of these inconsistent > behaviors, the backquoted variety of command substitution is not > recommended for new applications that nest command substitutions or > attempt to embed complex scripts." > > https://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xcu_chap02.html#= tag_23_02_06_03 I stand corrected! That=E2=80=99s news to me, but definitely good news. I=E2=80=99m all for using $(=E2=80=A6) from now on. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 12:56:32 2020 Received: (at 41539) by debbugs.gnu.org; 29 May 2020 16:56:32 +0000 Received: from localhost ([127.0.0.1]:56024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiJ6-0004ru-C7 for submit@debbugs.gnu.org; Fri, 29 May 2020 12:56:32 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiJ4-0004rh-Pc for 41539@debbugs.gnu.org; Fri, 29 May 2020 12:56:31 -0400 X-Originating-IP: 78.248.96.161 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 2A0C620004; Fri, 29 May 2020 16:56:23 +0000 (UTC) From: Pierre Neidhardt To: Ludovic =?utf-8?Q?Court=C3=A8s?= , zimoun Subject: Re: [bug#41539] [PATCH 1/2] size: Document that positional arguments can be store items. In-Reply-To: <87pnan3vdc.fsf@gnu.org> References: <20200526133830.4438-1-mail@ambrevar.xyz> <87lflbahaz.fsf@gnu.org> <87zh9rf5z8.fsf@ambrevar.xyz> <87pnan3vdc.fsf@gnu.org> Date: Fri, 29 May 2020 18:56:23 +0200 Message-ID: <87sgfiel3c.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 41539 Cc: 41539@debbugs.gnu.org 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: -0.2 (/) --=-=-= Content-Type: text/plain Merged with 776409c5069de949da328b769132fa009477668c. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl7RPrcACgkQm9z0l6S7 zH9kZggAq+JUtS3PusFaOPFR8so24LgAcBUH8WDKHqRCyVzVZUyOMur/vjyTVAeR 4QAVSxdocdjqHrxAbVpPgLw4q1NoaS1vfJJbxgTGgLXPmxeYU/2q4HkSNwvru1ig bDMfN3ufuS5Nn2XmArValkotWQkYN+eILeABTR2BUu+utf72fOir1T24psTC7Hdv V1I0NUd5RQk8MQBACba35Nq31diOMj6X0ALINgefNMMvRa+K3nHuVldYCWKRlkAS 5vWbdiUmglffzj13ej7cEJXui1jtRsCNWvm7uzjWWpgFDelpv6APkIjJpiFsqKW/ D53UTgP8PzP3uAt5cnav2gJl9TFPHA== =V1oI -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 29 12:56:14 2020 Received: (at control) by debbugs.gnu.org; 29 May 2020 16:56:14 +0000 Received: from localhost ([127.0.0.1]:56021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiIo-0004rO-36 for submit@debbugs.gnu.org; Fri, 29 May 2020 12:56:14 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jeiIm-0004r8-NN for control@debbugs.gnu.org; Fri, 29 May 2020 12:56:13 -0400 Received: from mimimi (mqu44-1-78-248-96-161.fbx.proxad.net [78.248.96.161]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 17698240004 for ; Fri, 29 May 2020 16:56:05 +0000 (UTC) Date: Fri, 29 May 2020 18:56:05 +0200 Message-Id: <87v9keel3u.fsf@ambrevar.xyz> To: control@debbugs.gnu.org From: Pierre Neidhardt Subject: control message for bug #41539 X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 41539 quit Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: control 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.2 (-) close 41539 quit From unknown Sun Jun 15 07:58:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 27 Jun 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator