help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backticks in Eshell


From: Joost Kremers
Subject: Re: Backticks in Eshell
Date: Thu, 30 Sep 2021 16:06:22 +0200
User-agent: mu4e 1.6.6; emacs 27.2.50

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 via email to

[Prev in Thread] Current Thread [Next in Thread]