From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yDQ/LWuHXWBSNgAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 08:04:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UEwPJ2uHXWDsBQAAbx9fmQ (envelope-from ) for ; Fri, 26 Mar 2021 07:04:11 +0000 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 4E5A020294 for ; Fri, 26 Mar 2021 08:04:11 +0100 (CET) Received: from localhost ([::1]:47972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPgVu-0007yA-Fl for larch@yhetil.org; Fri, 26 Mar 2021 03:04:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPgVn-0007x4-8o for guix-patches@gnu.org; Fri, 26 Mar 2021 03:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56918) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPgVn-0000N2-18 for guix-patches@gnu.org; Fri, 26 Mar 2021 03:04:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPgVm-0000Zh-TM for guix-patches@gnu.org; Fri, 26 Mar 2021 03:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47404] [PATCH 2/2] doc: Fix typos. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Mar 2021 07:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47404 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47404@debbugs.gnu.org Cc: zimoun Received: via spool by 47404-submit@debbugs.gnu.org id=B47404.16167422152168 (code B ref 47404); Fri, 26 Mar 2021 07:04:02 +0000 Received: (at 47404) by debbugs.gnu.org; 26 Mar 2021 07:03:35 +0000 Received: from localhost ([127.0.0.1]:40230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPgVL-0000Yo-15 for submit@debbugs.gnu.org; Fri, 26 Mar 2021 03:03:35 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:53013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPgVI-0000YT-Qr for 47404@debbugs.gnu.org; Fri, 26 Mar 2021 03:03:33 -0400 Received: by mail-wm1-f43.google.com with SMTP id d191so2411665wmd.2 for <47404@debbugs.gnu.org>; Fri, 26 Mar 2021 00:03:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ez6nI29FqO15t7PJS9BZMXb0lQn4n4v5F2ktTutJ9rU=; b=mQQT99nrZwBuhhXfU0L3QrLfA4zD3hRb8Bj3Btg5oV0rcqLsSV9Ka39GG6Vd3bkn+K MdnDRNfECOdeGVZ8vYp3pl47YUe2PDKmgbeDcOi3AdtVcU/P8+zmWUS0lTPExY/Wmfbi 5aPn9AJBo/96zM/d8GMAcEOmbk9FxmH9xt45fqxS6/BRrLPbU6ZANVISUSLLj1AIrtw3 ZqsCdtO5q6fk2ktCGYFML8SjO3iFfjvuCJOLf+O/uIXWT+ou0FFVZYhh8DdZDjQEI5tJ XyJcoqBk9SnAMD/vGEojF7b4LVBWj8rlLMAMe3v1TD4kVtWJyLp1Xwqk2xxelMdmZUML hCZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ez6nI29FqO15t7PJS9BZMXb0lQn4n4v5F2ktTutJ9rU=; b=NOQMtaAUSotFXKHaCIqDCpPQtSIgjS8rFbzBn33Kx7OT1tRGZrXweWZLo1FokacXY5 4nTD4KXq9OmhQ7Ow/aVR6CQcEqzvUeGIrqK07w3BLt9gVsZ+4tWKxzM8PzSuPA2kD/J3 5ugI5jyo4pxh+Ta+RyxwAkxUcu5glPaWwLfx0LqD8If3EXBOzXn+e+neaplX2Cr7Gmpz 8mDztE2RU7kc9ynnl6/H0wj7CGnPH+avVflg7UhMl7xTbtkx9gqiWzQtia34g1yYtyU3 mrTAQB+tYTSsI7kOwuNzocR/+IXYW1wSOGcDwqcsiUTbqpzFah/17hRwIc3Cb+XYTH3u hyFg== X-Gm-Message-State: AOAM5337OgKOrdQzzNi+h9czqPdmyQaEKkvsKeSFozmQYobDOWYO91rX VNHHogEL5K6FQE2c8W9lXc8au3917zc= X-Google-Smtp-Source: ABdhPJz2Q1gDMc5rrdomOUN9y2HgL8tQQGj62i0Vhy01uuWwv1O7qe09SRLPMNUqJ6embS31p13+tA== X-Received: by 2002:a1c:c20a:: with SMTP id s10mr11413718wmf.144.1616742206929; Fri, 26 Mar 2021 00:03:26 -0700 (PDT) Received: from lili.univ-paris-diderot.fr ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id x14sm11011472wrw.13.2021.03.26.00.03.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 00:03:26 -0700 (PDT) From: zimoun Date: Fri, 26 Mar 2021 08:03:19 +0100 Message-Id: <20210326070319.5236-2-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210326070319.5236-1-zimon.toutoune@gmail.com> References: <20210326070319.5236-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616742251; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ez6nI29FqO15t7PJS9BZMXb0lQn4n4v5F2ktTutJ9rU=; b=SyPMx58UlWKzdsNAQ/g8CJ9dD4BonEA2FbJk35RAiW8EhhbfkIKTu1K8kWYFyuE4ODfn2G xVGmKeWemVptYqcxAqHoEHh/WIrVCIJBZzbwdOqgpY+YDzzyRoYq1GzG64WrAu3F/NgZdy BCwnlJUeQaXUPPZrVMtFa23a8zOsQPtVWWWKwQjJWm2NIJPiVrS6gOCHR9dRDLo3XjjvXC cAaMnuu8BXV4ffYS8foh9iNJOuDgKf2R2MDmXL/lTOPH9QbZK9pEWy+WyLkaKq/pqi0Zz6 mpcUDTam4wH/koPdmVbzlU6x3wHIfwtaWwPoSngEp71g49RG5iig5J/BXmjFsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616742251; a=rsa-sha256; cv=none; b=Zlcr5f4W6zM/mHT42y3KeRsORU8ro4yOiKtGmCUqZW7bJgNrl+cjx54AiEhmiVM2wFd0db 2o1ThKXD2sV+5G2Yb02ukTI6gBSerEmTgpBTmvu76DdKxUbTLmOxpz/yTjN/P2HkrvmJcd 9/gIpLzqyOnZw8W77mk+VecpNgW7OHdpewcze9ehKq5EsLsN2RLnPihQdfOQj3r3ocJPL/ zhPGW9tyCgkWfxdtRd148uD1ihKhBF27GBseRuvRGWVbmXlCfMfGGn+tVZtSSXUGRMNtol A0P3AHD7zX90bpIDom4ll4fJfqmGRH5H7EHvba0TN4WRvK9f/xOKQ8DV2zUcug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=mQQT99nr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=mQQT99nr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 4E5A020294 X-Spam-Score: 2.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: SMVnzjxjM+sy * doc/guix.texi: Replace shell substitution (`) by $(). --- doc/guix.texi | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 3bc8d029d9..eb4f711cf9 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1043,10 +1043,10 @@ Bash syntax and the @code{shadow} commands): @c for why `-G' is needed. @example # groupadd --system guixbuild -# for i in `seq -w 1 10`; +# for i in $(seq -w 1 10); do useradd -g guixbuild -G guixbuild \ - -d /var/empty -s `which nologin` \ + -d /var/empty -s $(which nologin) \ -c "Guix build user $i" --system \ guixbuilder$i; done @@ -4211,7 +4211,7 @@ Return the derivation(s) leading to the given store items For example, this command: @example -guix gc --derivers `guix package -I ^emacs$ | cut -f4` +guix gc --derivers $(guix package -I ^emacs$ | cut -f4) @end example @noindent @@ -10120,7 +10120,7 @@ Similarly, the following command builds all the available packages: @example guix build --quiet --keep-going \ - `guix package -A | cut -f1,2 --output-delimiter=@@` + $(guix package -A | cut -f1,2 --output-delimiter=@@) @end example @var{package-or-derivation} may be either the name of a package found in @@ -10825,8 +10825,8 @@ This works regardless of how packages or derivations are specified. For instance, the following invocations are equivalent: @example -guix build --log-file `guix build -d guile` -guix build --log-file `guix build guile` +guix build --log-file $(guix build -d guile) +guix build --log-file $(guix build guile) guix build --log-file guile guix build --log-file -e '(@@ (gnu packages guile) guile-2.0)' @end example @@ -12334,7 +12334,7 @@ For this type of graph, it is also possible to pass a @file{.drv} file name instead of a package name, as in: @example -guix graph -t derivation `guix system build -d my-config.scm` +guix graph -t derivation $(guix system build -d my-config.scm) @end example @item module @@ -12363,7 +12363,7 @@ example, the command below produces the reference graph of your profile (which can be big!): @example -guix graph -t references `readlink -f ~/.guix-profile` +guix graph -t references $(readlink -f ~/.guix-profile) @end example @item referrers @@ -12935,7 +12935,7 @@ their dependencies over to @var{host}, logged in as @var{user}: @example guix copy --to=@var{user}@@@var{host} \ - coreutils `readlink -f ~/.guix-profile` + coreutils $(readlink -f ~/.guix-profile) @end example If some of the items to be copied are already present on @var{host}, @@ -32897,8 +32897,8 @@ system configuration file. You can then load the image and launch a Docker container using commands like the following: @example -image_id="`docker load < guix-system-docker-image.tar.gz`" -container_id="`docker create $image_id`" +image_id="$(docker load < guix-system-docker-image.tar.gz)" +container_id="$(docker create $image_id)" docker start $container_id @end example @@ -33422,7 +33422,7 @@ The default @command{run-vm.sh} script that is returned by an invocation of @command{guix system vm} does not add a @command{-nic user} flag by default. To get network access from within the vm add the @code{(dhcp-client-service)} to your system definition and start the VM using -@command{`guix system vm config.scm` -nic user}. An important caveat of using +@command{$(guix system vm config.scm) -nic user}. An important caveat of using @command{-nic user} for networking is that @command{ping} will not work, because it uses the ICMP protocol. You'll have to use a different command to check for network connectivity, for example @command{guix download}. @@ -33437,7 +33437,7 @@ To enable SSH inside a VM you need to add an SSH server like 22 by default, to the host. You can do this with @example -`guix system vm config.scm` -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22 +$(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:22 @end example To connect to the VM you can run @@ -34491,7 +34491,7 @@ To verify which Bash your whole profile refers to, you can run (@pxref{Invoking guix gc}): @example -guix gc -R `readlink -f ~/.guix-profile` | grep bash +guix gc -R $(readlink -f ~/.guix-profile) | grep bash @end example @noindent @@ -34499,7 +34499,7 @@ guix gc -R `readlink -f ~/.guix-profile` | grep bash Likewise for a complete Guix system generation: @example -guix gc -R `guix system build my-config.scm` | grep bash +guix gc -R $(guix system build my-config.scm) | grep bash @end example Lastly, to check which Bash running processes are using, you can use the -- 2.29.2