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.