From patchwork Mon Nov 18 14:38:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "pelzflorian (Florian Pelz)" X-Patchwork-Id: 70502 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3268F27BBEA; Mon, 18 Nov 2024 14:43:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4AE8927BBE2 for ; Mon, 18 Nov 2024 14:43:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD2y4-0008Gf-Ha; Mon, 18 Nov 2024 09:43:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD2xz-0008GO-Rd for guix-patches@gnu.org; Mon, 18 Nov 2024 09:43:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tD2xy-0006Pf-Sc; Mon, 18 Nov 2024 09:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=8W51TJ7PsrrxnGWiw24JL1POnNPzcvLTIMLmOBedDM4=; b=GUWxFEIwHZraxJ7UiejCN1rMlxZV22ud4uHyiShFWuDX5fP+BJakRkBt3hpbKPg70YyWJGafaQckaekUqHYzxK68TxsRtdpHXkr3X9p6fSTJnQWtpvLBp0Gs8ZxTlBeZOy72azxYDwKNRHR6pAxS5W1sGFWX6Vp8oTCsvnjgEzH7DOBAK5bz3SaYLfFlexnvDjGlqjwdRV1nMc0K2pGE99aVcqHrQeY0BPrxXP80wbP6uhuRnQAH5gOqZU5y84NUysSF4ilq+Wg1/nhrGIUxMGzX2FhCcw8RSmF/sPv0eo8mgJDhWdnLTEGuijbeNBo42wvU4xBfcUeKIl7XoWtb3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tD2xy-0005bh-7D; Mon, 18 Nov 2024 09:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74418] [PATCH] doc: Explain =?utf-8?b?4oCYLS3igJk=?= syntax of =?utf-8?b?4oCYZ3VpeCBzaGVsbOKAmQ==?= before giving examples. Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74418 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74418@debbugs.gnu.org Cc: Florian Pelz , Ludovic =?utf-8?q?Court=C3=A8?= =?utf-8?q?s?= , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?utf-8?q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.173194098021543 (code B ref -1); Mon, 18 Nov 2024 14:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 14:43:00 +0000 Received: from localhost ([127.0.0.1]:60716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD2xw-0005bM-5f for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:43:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:57432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD2xt-0005bE-UT for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:42:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD2xt-0008Cy-MI for guix-patches@gnu.org; Mon, 18 Nov 2024 09:42:57 -0500 Received: from relay.yourmailgateway.de ([188.68.63.174]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD2xr-0006PA-Ae for guix-patches@gnu.org; Mon, 18 Nov 2024 09:42:57 -0500 Received: from mors-relay8204.netcup.net (localhost [127.0.0.1]) by mors-relay8204.netcup.net (Postfix) with ESMTPS id 4XsVj53TVJz8cHg for ; Mon, 18 Nov 2024 14:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1731940969; bh=jDNOzXYpg2pAHVbqe+uyGmJ9Irt9xjMxqUWnsa2UUKI=; h=From:To:Cc:Subject:Date:From; b=F7VIhS7EPMHqQojEaby+fOzy8fKbWQuvHYMwI2o5uk/uAC3hcxTiAZoCepYwUkBxV Vf71KW7hOOqC1YbSboEs529ZFMDifGRsY0osM4EjNL6/lyJp5RWXat1qVaojRsiZTC SJVOXBYs1mY+uqtSPYzofg2y8tgzFcygdQrDbxJTmS7jlVMpp2xQ8Yt5QCCLCuSZv8 qPBVtu6VuBVEwQzFwAPWYB5V6peCkcz4baI2rZsOhrXFqeQcYWHrsypDwlKNattCf+ T3cPsozQ1bJfQdmMY6s/j9VtuhA0V4f/dP7iuaYjb/kesWsrzd0V4OLVfy6tLYnyFj AL327uvcdqLBA== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay8204.netcup.net (Postfix) with ESMTPS id 4XsVj52hv5z8cHS for ; Mon, 18 Nov 2024 14:42:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4XsVj46ZqKz8tXW for ; Mon, 18 Nov 2024 15:42:48 +0100 (CET) Received: from florianhp.fritz.box (ipb218687b.dynamic.kabel-deutschland.de [178.24.104.123]) by mxe217.netcup.net (Postfix) with ESMTPSA id D43F482FF1; Mon, 18 Nov 2024 15:42:42 +0100 (CET) From: Florian Pelz Date: Mon, 18 Nov 2024 15:38:57 +0100 Message-ID: <24a645c2c44f8b98d6351c8d8c4839feb46b012e.1731940595.git.pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: D43F482FF1 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: /83bhTnfVS9x+D/xuvkyqZGb+3FQS2jjU+QjAROmj7iRUTcNE9n5Qbhp Received-SPF: pass client-ip=188.68.63.174; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This paragraph is present in the ‘guix environment’ docs. I presume it clarifies ‘guix shell’ for newcomers as well. * doc/guix.texi (Invoking guix shell): Take over an introductory paragraph from ‘guix environment’ and use it for ‘guix shell’. Change-Id: I06280516ad3436260114b074c5f325e6984e9c76 --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) base-commit: 23cbbe6860782c5d4a0ba599ea1cda0642e91661 diff --git a/doc/guix.texi b/doc/guix.texi index ba4bd2cc79..f71f0b6561 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5933,6 +5933,10 @@ Invoking guix shell guix shell [@var{options}] [@var{package}@dots{}] @end example +Sometimes an interactive shell session is not desired. An arbitrary +command may be invoked by placing the @code{--} token to separate the +command from the rest of the arguments. + The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment: