all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: "Felix E. Klee" <felix.klee@inka.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Backticks in Eshell
Date: Thu, 30 Sep 2021 16:06:22 +0200	[thread overview]
Message-ID: <87a6juf8x9.fsf@fastmail.fm> (raw)
In-Reply-To: <CA+m_8J0QGD=r1E0UVzPw=56kEvWUCCay=5TnAQe+4PWNU55BLA@mail.gmail.com>


On Thu, Sep 30 2021, Felix E. Klee wrote:
> On Thu, 30 Sept 2021 at 15:42, Joost Kremers <joostkremers@fastmail.fm>
> 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’t count. Try:
>
>     echo {gpg -h}
>
> There’s 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...

-- 
Joost Kremers
Life has its moments



  reply	other threads:[~2021-09-30 14:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30  6:35 Backticks in Eshell Felix E. Klee
2021-09-30  7:26 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30 13:19   ` Felix E. Klee
2021-09-30 15:36     ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-30  8:45 ` Using oathtool in Emacs - was " Jean Louis
2021-09-30 13:38 ` Joost Kremers
2021-09-30 13:56   ` Felix E. Klee
2021-09-30 14:06     ` Joost Kremers [this message]
2021-09-30 15:02       ` Felix E. Klee
2021-09-30 19:17         ` Joost Kremers
2021-09-30 15:38   ` Emanuel Berg via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6juf8x9.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=felix.klee@inka.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.