From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MLk1GJ53C2PwfQEAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 16:11:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IBU7F553C2MihgAAG6o9tA (envelope-from ) for ; Sun, 28 Aug 2022 16:11:42 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F0B8624D3B for ; Sun, 28 Aug 2022 16:11:41 +0200 (CEST) Received: from localhost ([::1]:35362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSJ0m-0002Gy-SF for larch@yhetil.org; Sun, 28 Aug 2022 10:11:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJ0K-0002GF-UR for help-guix@gnu.org; Sun, 28 Aug 2022 10:11:12 -0400 Received: from vmi571514.contaboserver.net ([75.119.130.101]:33992 helo=mail.laesvuori.fi) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJ0H-0001fY-MW for help-guix@gnu.org; Sun, 28 Aug 2022 10:11:12 -0400 Received: from X-kone (82-203-161-78.bb.dnainternet.fi [82.203.161.78]) by mail.laesvuori.fi (Postfix) with ESMTPSA id AC89734013C; Sun, 28 Aug 2022 16:10:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail; t=1661695859; bh=rFiFODQZwcknQox6ooilaR958XAfskmGosWoiBhykaQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=BfY/mcLPlwLyh/X+9FWggLCaeLeGqhtYiW3Tqw2k0nSEm1fMr5UiAsbpsylVBSB7q sidk7aCjpJ3QRAfelnUDIvhDJ7hh+TgR5+w0ZyIXNLsi8NbUv6RhN4hCq5GIsG4TnP TEBHwAUV/V5+m7H8Vle1/AyaZy+mB4LzjMnqMkO0= Date: Sun, 28 Aug 2022 17:10:54 +0300 From: Saku Laesvuori To: "(" Cc: Csepp , jgart , Ricardo Wurmus , help-guix@gnu.org Subject: Re: Am I doing it all wrong? Message-ID: <20220828141054.mufgp2an4qufdqbt@X-kone> References: <20220827103401.GB11747@gac> <87k06twqrk.fsf@elephly.net> <20220827133836.GB31518@gac> <87y1v8r3ev.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qkiw7polknrbxczl" Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@laesvuori.fi; helo=mail.laesvuori.fi X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661695902; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Sp1SGnqyUvmCPOmi9v3KVmz93QLtNLelYmUgsB9Ca9o=; b=I3ovaaDZ4yEE5W2bE6UfdWm/26Se5zLSPdSmDg/D93CRMP6equgJ+IAFPaFgv/OLsRDxF/ CW/9XDiqZzSw6ixKYffc8vTa7a3TRuYGunNJxtbApV8IbVLF3hCL4Mkcnv6ooslf3i3mOO t6u+JCXVTcUASRHj8aqXopiBIT/nuv2qL4xylSaBFown9asAD2c3zYVH7VcKR7QkYOaXEp zdNmhMcmgkPjS63RSh4XvbgErqgjciKnrFLbgD/pmkHqPgIa2bCKtF4GZcLpIC0N0Bx6nx Bc+7aQ45KQ3kfJvy36qDHEvoQw5wGGrf4IdQskjlRD1kYPiSHY6CoXberpQ+Jg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661695902; a=rsa-sha256; cv=none; b=i6wpJToPNB+SU50QBRXYNBfZ2WUoTDM0fuYOMCT2zvFCquoAgZnBTgCGizd8YpH/kVbPw3 AP5NNB2RQOOMK6WVKfwoMbOhWSE3d1BwwTRLGaLnOz/FBgJFL3vXFbmWoQDapMKJqcMTOz bKHof9ojwYKDNlo9Aj55KoLu+5rV3Oe2oCLysTcp8Z+opVwngfQhcRcrqy9xrCFzSLh0Yg Vj6GhF+ADh50W6JosvwuFjeYBQBsbK8mHfAOGQoHTPswet/5vVElZ9vEoUUL4U/NfTp8Ab 077fXYtsvhB4sRAoqhlY9Hrzq5h39O2bJHr9JLpiaW1f96s2kgeQ64CnhDqeLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b="BfY/mcLP"; dmarc=pass (policy=reject) header.from=laesvuori.fi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=laesvuori.fi header.s=mail header.b="BfY/mcLP"; dmarc=pass (policy=reject) header.from=laesvuori.fi; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F0B8624D3B X-Spam-Score: -4.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: WQPUFd5GBI+U --qkiw7polknrbxczl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > Also, that should probably be "$@", just in case. >=20 > I don't think it'll make any difference; if, say, "foo" "bar" "baz" is > passed, both $@ and "$@" will expand to "foo" "bar" "baz" (yes, bypassing > the quotes). >=20 > According to POSIX.1-2017's specification of `sh`: >=20 > When the expansion occurs within double-quotes, the behavior is unspeci= fied > unless one of the following is true: >=20 > + Field splitting [...] would be performed if the expansion were not wi= thin > double-quotes [...]. >=20 > + [...] >=20 > So, $@ =3D=3D "$@". It does actually make a difference if the arguments have spaces. Given arguments "foo" and "foo bar", $@ expands to "foo" "foo" "bar" and "$@" expands to "foo" "foo bar". - Saku Laesvuori --qkiw7polknrbxczl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmMLd20ACgkQJX0oSiod OjKO1xAAguPi9ssKiBiqWeUTRvLmW4RgbLp71vTFFMyK2qVBkt6fo8oHlro5zp1u ozzR6bnQ6R8SseE9f3dco3iVmfYBjifejOOrsi6Ns61bzDeJQHhLue949FF/X2xb v92npf1dLphGox7K8O3UwTtZuAF0udNU0iCljlGfqIC6DESGjMnVo8Bv/SL2GZDN 9UeNrvdvFaXan0XWFjiQA4Mlgjli2HX45DCvszqYEssTovEgenI1v18JZMI1FAja pNKreiGBWBb8JRVKJO8OemwA1pWtrGJr6c1Wacc2Ses1MALel08lP4wxatK+jxrX uBG0726j5vFPaUU/CyKjMH1PKCOJmVQvn60x/rM/JxGXRPPGZVzrJSV729oQcArO hbnK0HFIC93GiIlHwZsvRsJNmDFB49dw9pWTpd8fMQEyzfF5Ohdvtx4K+i7LJhRY XDK6b0ujp0pjCdShojesgUgzbRAzFvl9k7fX+AGYY/KVfoLhdZP6eHlD0CQL5Wma qmCHWehfycFuGdHQ18i9lKEsv+IfqBZhQLkgJk9L0RYmTe5vwnyQqdtDmS9t2Zb2 8AAGBOXaZ2/DAjhvKpRT5bI1wcCNF7Wu42xG04lTzKkMI8Q3h7+xyVJ5KMOfe0J7 SwSo9DUoHm4MLK3hQ3JJnaIydmThr/hBkYVxu4pN2TvSsBcH0Fk= =oUlH -----END PGP SIGNATURE----- --qkiw7polknrbxczl--