From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Backticks in Eshell Date: Thu, 30 Sep 2021 15:38:08 +0200 Message-ID: <877deygoxl.fsf@fastmail.fm> References: <87y27eo9ja.fsf@inka.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.6; emacs 27.2.50 Cc: help-gnu-emacs@gnu.org To: "Felix E. Klee" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 30 16:13:12 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVwoB-0003QZ-1W for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 16:13:12 +0200 Original-Received: from localhost ([::1]:39780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVwo9-0007oZ-VW for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 10:13:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVwKb-00021V-Sm for help-gnu-emacs@gnu.org; Thu, 30 Sep 2021 09:42:37 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:53749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVwKZ-0004af-Q1 for help-gnu-emacs@gnu.org; Thu, 30 Sep 2021 09:42:37 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F34CF3200E82; Thu, 30 Sep 2021 09:42:33 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 30 Sep 2021 09:42:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= MxB2Q4l4tQA8bUSLKomYQevANBCUjcnCXfj5n9GTgIY=; b=PX8rEAd0V+cL48kZ rsJxWSm1OLBoUdeaJ4EYy66DojIhMfA810EPWVw1eFpVvUxdKbYI7ghBUA/UTQ7l +wG3Hgi66ZJZus6nO56cQgDQy9bQEgQyTs0wzaDV2J6lU7OxzoGOcFgvSU6XlBp2 mYBBKHgpzATp6/HWRbM7+5ZvoJjtPgXllwUBmxnUvVCxOh9lUtqHFktsJfHWlJOq +zOFdxxexOsKoRKlYyUYUsVj8RIvF1xaRdSBlXEkBoeHpHNscgNQs4vhbqXAxMFi fROOPF8iqn656h2D1M0Hkier+qmzmcOIydYe2mlm32eBBC1hyww2m6FPx0Y4p5F5 5QwyJg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=MxB2Q4l4tQA8bUSLKomYQevANBCUjcnCXfj5n9GTg IY=; b=hj3SqB4+vAfNwzHZtzYsXwUu81rGiuHvflMcS8jf/NUQsx5/lNC39Chac Wa7DYEQnj6WrO8lp+hpboV2vop4MedLEIWKFmLEv32NwNK6qwQpT48VbrcGqosqu 5I9rg7BhWIaXRMrx62ZetuzpG9GhEz4EcLsk/8il23JFns3bpCfG/Snqdhs+HEqX Ekhr5mxDbokPLZD+5OFLxHjFY8Y+PxRFnqkKs1nTxUCrUJkHROCsCXgeAxcop3Mv UtH91p05qiR5x4En0miRrR8pSr0pmt8YyoGA+6dQSjcnE67zMNhQR2mwVyf9tQyF UViORm1QyrFwi+21dAKt1QRpBU+yg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekgedgieehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtgfesthhqredttderjeenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhepvefhffefkefhtdeihedvuefhueelhfevudejudettdei hfekffevgffffefgvdevnecuffhomhgrihhnpehmrghsthgvrhhinhhgvghmrggtshdroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehj ohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Sep 2021 09:42:33 -0400 (EDT) In-reply-to: <87y27eo9ja.fsf@inka.de> Received-SPF: pass client-ip=64.147.123.24; envelope-from=joostkremers@fastmail.fm; helo=wout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133431 Archived-At: On Thu, Sep 30 2021, Felix E. Klee wrote: > To generate a one time password, I would do in Bash: > > oathtool -b --totp `gpg -d secret.gpg` > > How do I do the equivalent in Eshell? > > I tried: > > oathtool -b --totp ${gpg -d secret.gpg} > > But that doesn=E2=80=99t work. Even the following doesn=E2=80=99t work: > > echo ${gpg -h} > > I expect GnuPG=E2=80=99s help text, but there=E2=80=99s no output. Try without the $ sign. This works for me: ls -l {which python} Eshell, unfortunately, isn't very well documented. There's a lot of useful = info in Mastering Emacs[1], tough. HTH Joost [1] https://www.masteringemacs.org/article/complete-guide-mastering-eshell --=20 Joost Kremers Life has its moments