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 16:06:22 +0200 Message-ID: <87a6juf8x9.fsf@fastmail.fm> References: <87y27eo9ja.fsf@inka.de> <877deygoxl.fsf@fastmail.fm> 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="22886"; 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:14:50 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 1mVwpk-0005jU-Pz for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 16:14:50 +0200 Original-Received: from localhost ([::1]:43690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVwpj-0002Ld-UD for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 30 Sep 2021 10:14:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVwou-0001lj-8d for help-gnu-emacs@gnu.org; Thu, 30 Sep 2021 10:13:56 -0400 Original-Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:53621) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVwoi-0005VF-CW for help-gnu-emacs@gnu.org; Thu, 30 Sep 2021 10:13:56 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A44453201C78; Thu, 30 Sep 2021 10:13:41 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 30 Sep 2021 10:13:41 -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= qlcG/zRRcPx6qE+rlH0+uAGAMNMP7JLfGgbeK6dzLTo=; b=NmYijVS3dgW95NTe 7mQ8pnHriESMWLlalpS0eJpAP09aRpkp8AEdHbna8j5VB1cymmb7N4cwO7p0cMJi WhtG2KVYHpHCgUv+rPvBgWQt8STv/zL68JpZEUYVVL+4oGVr/U+QmyPq0e7YpZAk RpXPqUFnma0pNAxWXRamRK3PQJUJ1LdGNx7rgmsYKLzUkSfv+eR0Xj9rVR7EeYCC c1/QCuURvPnoApMjxk3Qff0sOm10/RavAiuHhlP99dMHCD7S6vIqsbwkEzykisf4 gCBbS7ovSUOIgqVlYeMeDROnyz8silfWPi4AdO7v9M7nHZ4PLX6G6AlovTTf503R uJzJSQ== 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=qlcG/zRRcPx6qE+rlH0+uAGAMNMP7JLfGgbeK6dzL To=; b=TaFv3edm57O5QWfbGz7TfcOS8qDTV5MRnmoTtZSdeswVZFiJy2rVE/+eO 6q3sjl38sQ2VcGWh5fXik1RBnBi/GLKcyaffH7uFMdp3w32VGT+0Y6lYGyRyvFYx P9bNAOTCBMAA4INOptGYs5+KIzpCkKCw+eqFvrUGvbP1IVaooq85h5I7ibmAX7Nq M9ENvmZYxV5e3Q0LV59vuHHRnkceN0fFi3Dii3EtYiW2ddbHHHraYva6dSXa6Qlt Xhqvlx+76ZZqmJKTxPAr/8ebjEFYtLoqRfN/sZuwiiRCO5oLJ5GfBdPusiObC0ow EYHrIvc2Nk7nBTDNMVvPh1f3vX5vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekgedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtgfesthhqredttderjeenucfhrhhomheplfhoohhs thcumfhrvghmvghrshcuoehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh eqnecuggftrfgrthhtvghrnhepvddvgfeghfdtiefhvedvvddtjefhleejveeltdelffev hfeijeekhfdutdffgeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 30 Sep 2021 10:13:40 -0400 (EDT) In-reply-to: Received-SPF: pass client-ip=64.147.123.24; envelope-from=joostkremers@fastmail.fm; helo=wout1-smtp.messagingengine.com 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, FREEMAIL_FROM=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:133432 Archived-At: On Thu, Sep 30 2021, Felix E. Klee wrote: > On Thu, 30 Sept 2021 at 15:42, Joost Kremers > wrote: >> Try without the $ sign. This works for me: >> >> ls -l {which python} > > Thanks for the suggestion, but `which` is an internal command: > eshell/which > > So that doesn=E2=80=99t count. Try: > > echo {gpg -h} > > There=E2=80=99s no output. Bummer. I didn't realise that might make a difference... Is using a pipe an option in your use case? This seems to work: gpg -h | wc -l Though you need to hit RET a second time to get a prompt again... --=20 Joost Kremers Life has its moments