From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EAFdNz8WfGfYmwAAqHPOHw:P1 (envelope-from ) for ; Mon, 06 Jan 2025 17:43:28 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EAFdNz8WfGfYmwAAqHPOHw (envelope-from ) for ; Mon, 06 Jan 2025 18:43:27 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AYBiKZ80; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lbvlM72e; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736185407; 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: 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=HEy2uT1+lXCpdGVmpo3VqfFKS4+ZSCThcC7NDBUXAmg=; b=c0TjSx85KOPEy9eyfWnwsTxbvOaazeAYSAaVEtiPww3uxIqsCJZ7htPBARt3In6/8pA2RF oBCVGznrXF9zFyZlgyCCWw6HV/+thXVbQqYnT8GaqYllq3MsIklCmnaHzIEO8BUS/bZU49 fd/qpERlkYqCxtZJ6yHDQ+paRHqQupo+ANd77H8ITFSiLX5kBQYPlQ3VFc5zKFBxe2G1DR vi5sMT3BRfhVzoqUGuA1gvyKLlqyRwPsuEINui3goTG1oiSVgk9bT4ZhPQH9xoBfHIFmmB sP5xsI/w3ZJLYGgCt8UfkmzbCoxLuYK16c0Dqlkvq5hVf4wGI6nJydwrax4Zyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=AYBiKZ80; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lbvlM72e; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736185407; a=rsa-sha256; cv=none; b=DaAXlPHh8LyF/ljJnVqUEydOYXoBfVGSfZTw98ixldkThAc2KWdIObhr5etQw42C5s/aUk /kJR7fF3s9u4AqjXpRBQ1RuE7LtxVGwKA0CAhwdaxK55VZ+FjN5U/fjanz87yQc/lESbI1 qtMaASHgzFj5iE2UQwFp2A1xv9J+Y9kblM/i6aza3Yk7U+mrIcbhpeDm4QMHytgAVsgoFf Ghb14I8zlKHDUMkbfDf3HLYcmSyps6SGuFSP+Iwc0fiCKz6EEwWWWv2H7R8BCWYnGZHYws 0/nUZ742YtPFfuXezhqlef8G0/y34MGzAyHEtZHK7rCjqiUpSNAmmgCC0IoeIw== 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 3D9201F612 for ; Mon, 06 Jan 2025 18:43:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUr87-0003uZ-Qo; Mon, 06 Jan 2025 12: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 1tUr86-0003u2-6X for bug-guix@gnu.org; Mon, 06 Jan 2025 12:43:06 -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 1tUr83-0005kE-6e for bug-guix@gnu.org; Mon, 06 Jan 2025 12:43:05 -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:References:In-Reply-To:From:To:Subject; bh=HEy2uT1+lXCpdGVmpo3VqfFKS4+ZSCThcC7NDBUXAmg=; b=AYBiKZ80FSSsR3Pnq2spHJaEqEfq6lR+DqErxdOR+cG6xISX5KhWD4KlRnty3w6pB/DBrxM8emYZxbn9oR/eEjbBZ/T1D+iO3OhpZlRN23eIXn2FiESnaMhdalny1zG9yfM449zj2KHzFsiwkgMPbWWC1cpXyGHcf0+0/0/pp9K/srwYS1b8shHikwzdjAmzdjdXpTC68ln6p3B2gSWsoM3oY3tOGqhf2HwJgUrGUxbORyiOONAxSnLCd4Vnm4fENjL9OjV/TcAQwj8CSWbsqHSpD/4Ir9R2TgPz8/XzL40cuZaYNp7d53cFRQEQESFZ7yfqs9wQ9u1SSxZ1UBxTXA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUr81-0000s1-M3 for bug-guix@gnu.org; Mon, 06 Jan 2025 12:43:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#67241: [PATCH] guix-install.sh: Add message about Info reader. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 06 Jan 2025 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67241 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 67241@debbugs.gnu.org Received: via spool by 67241-submit@debbugs.gnu.org id=B67241.17361853693292 (code B ref 67241); Mon, 06 Jan 2025 17:43:01 +0000 Received: (at 67241) by debbugs.gnu.org; 6 Jan 2025 17:42:49 +0000 Received: from localhost ([127.0.0.1]:39916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUr7o-0000qz-MK for submit@debbugs.gnu.org; Mon, 06 Jan 2025 12:42:49 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:44280) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUr7l-0000qU-9g for 67241@debbugs.gnu.org; Mon, 06 Jan 2025 12:42:45 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-436345cc17bso106196425e9.0 for <67241@debbugs.gnu.org>; Mon, 06 Jan 2025 09:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736185364; x=1736790164; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HEy2uT1+lXCpdGVmpo3VqfFKS4+ZSCThcC7NDBUXAmg=; b=lbvlM72eEnlkInNZsho+NZU9YIZNUaAxLgLZbVvnV+NRwOHpyBNANMOk9Gq+yFQNY5 kcFxhEfJvDBtokU5fOm/hmquTx3IWO27vtWFd7QgO5ulQgatnJLISwmPi4vibqxE612v EtmmgfqMEYwZcUW81cquG0nqJLwuvTveJiwpB/MivXTSmgH1FR4/Ny6M/hiWPE/wE5QV +fiKmHSxwdg9f/UvuQd7oiJYXE9t30KVo2IXuoQKaL8sd96GC+Is0thUoG/4g35r5Tkj x4T3G5Z7bm6W+bMYhgnWL222jfu9ejaL06bud92iuhQblym00/0OBJgxMRsW2HMARSaa PZGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736185364; x=1736790164; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HEy2uT1+lXCpdGVmpo3VqfFKS4+ZSCThcC7NDBUXAmg=; b=FWnPOD8ruDio/tA8VZVckKWBNmY/HVqCepwVKWYq0bZNYrFlf9TYj8kVPWkkBaHeHG Oz7fLdeNKk/Qz0zE+UpyHap4rwvUIZLrpRIPd/Bh6NVPvYhRhvMLbu2zoskUvrJydt45 p+uDVKm1/gjjtiu2NNC9/BFI/u/rB/5PaPxklKTrFz0me/yZ/1sY40dlM+eiuWseBNYS 8E7J8JV2h4qljB68Qhii1jk9N60yWHrMsv7K+pANVesex0iVe3cvSLagdHaC5x3RIA8A 4AUy4p2vQDxlGB9TFJ8NYx9ai8vEilgitS35KAk0FMgScj0P2/BH9PYKCvndIr0O55TK rx5Q== X-Gm-Message-State: AOJu0Yyz8ELB63dIgNHfqrtY5HvFQt5gf1LW/0ITPY/fK6K1beX8i7a5 Y1dKfiqnWr0JJS07xqRO3yuHD1+pMbH9y7m0qrXJRdBxvGduBa6VXHElPA== X-Gm-Gg: ASbGncsbzdRRDIajQcxdKYGI3D+AElQQnXWusXssMmQJ6zqTRjvDTsyl1YjsOlPCy/v 6YjIXyVLZGZGdmzpDIT9KZ2ytf02GGLEm7keIGQCllgsTafPnHgtkCTA60+L0XTBzW3z4W/oxUI tMA5FgiU0sEJaYFgR/+bKXQqOG4Ph9OinRVLqjnDPgcqrwj84UEbo8eMX177L9xKsgN/H+7XPKm ZBa27isPg+xHSPLe4YOCMOJeYxNal7DkWfA9k4P8WL64YwBhDJOipZ5IG62g7jt8NrtMwwlouMQ 2D/UG886+HMc76nycfRLJ96yS8ErdCgBG+/WyYaxsw== X-Google-Smtp-Source: AGHT+IF1Pm03pCIP6yI9CqLXFf80bdah9e8/810A5TzhIoOStlKUN4nhguIjrnslKMkekmesAnfAew== X-Received: by 2002:a05:600c:3554:b0:434:9934:575 with SMTP id 5b1f17b1804b1-436686461d6mr516491175e9.16.1736185363906; Mon, 06 Jan 2025 09:42:43 -0800 (PST) Received: from lili (roam-nat-fw-prg-194-254-61-47.net.univ-paris-diderot.fr. [194.254.61.47]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8acabbsm48025625f8f.93.2025.01.06.09.42.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 09:42:43 -0800 (PST) From: Simon Tournier In-Reply-To: <87frmkkssn.fsf@gmail.com> References: <87h68d6k4e.fsf@gmail.com> <87r068uyn5.fsf@gmail.com> <87ldwf7bml.fsf@gmail.com> <87frmkkssn.fsf@gmail.com> Date: Mon, 06 Jan 2025 18:37:23 +0100 Message-ID: <875xmryhbg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.26 X-Spam-Score: 2.26 X-Migadu-Queue-Id: 3D9201F612 X-TUID: smSLyqqaCieM Hi Maxim, On Thu, 19 Dec 2024 at 16:58, Maxim Cournoyer w= rote: > Hm. I agree duplication is not nice. Probably a naming issue ;-) Arf, as we know: =C2=AB There are only two hard things in Computer Science: cache invalidation and naming things. =C2=BB :-) > According to git blame these lines were also authored by you 4 years > ago, ha! Ah, you got me! ;-) Bah I am consistent. > It checks the exit status instead of the captured string output. While > it's not that bad in that case, in general I find checking for the exit > status a much more reliable and clean option. Thanks for explaining. I will re-send that way. However, I still think that=E2=80=99s the same from some Bash point of view=E2=80=A6 >> Both $() and "" used in tandem makes the test sound, from my >> understanding. > > Hm. Is [ "something" ] true and [ "" ] false? Apparently it is, but > I'd argue that's not very clear, especially when there are explicit test > operations to check for an non-empty or empty string (test -n and test > -z). =E2=80=A6and welcome to weird Bash. ;-) Maybe I have misread, from my understanding, this: if [ "$(type -P foo)" ] is equivalent to: if test -n $(type -P foo) and also equivalent to: if type -P foo >/dev/null And I know nothing about internals; maybe some type conversion are avoided with the latter and some cycles are saved? Well, it appears to me a matter of taste. :-) I find the former easier to parse than the latter. But I also fine with the latter; let do that. Cheers, simon