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

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

Backticks in Eshell


From: Felix E. Klee
Subject: Backticks in Eshell
Date: Thu, 30 Sep 2021 08:35:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

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’t work.  Even the following doesn’t work:

    echo ${gpg -h}

I expect GnuPG’s help text, but there’s no output.




reply via email to

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