From: Xi Shen <davidshen84@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: eval bash command at eshell
Date: Fri, 07 Oct 2016 00:54:35 +0000 [thread overview]
Message-ID: <CANO68EMDLc2AzyehLeKBEzPNQ_YC0zhhZj8LYiSGgfEu8a=scQ@mail.gmail.com> (raw)
In-Reply-To: <83h98rkjt4.fsf@gnu.org>
Yes, I know eshell is not a real POSIX shell. But I think it should mimic
as much as possible as a POSIX shell, or not?
If eshell is not expected to simulate a complete POSIX shell, then what is
the equivalent of "eval" in POSIX shell that is in eshell?
On Wed, Oct 5, 2016 at 9:28 PM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Xi Shen <davidshen84@gmail.com>
> > Date: Wed, 05 Oct 2016 13:14:24 +0000
> >
> > I tried it, but I got
> >
> > eval: external command not found
> >
> > But I think "eval" is a built-in command, right? It seems eshell try to
> execute it as a external command.
>
> Yes, I just told you how to disable the automatic preference of Lisp
> functions in this case.
>
> As for invoking the shell's built-in: what exactly do you expect that
> to do, when you invoke shell's 'eval' from within Eshell? Eshell is
> not a Posix shell.
>
> --
Thanks,
David S.
next prev parent reply other threads:[~2016-10-07 0:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-05 2:52 eval bash command at eshell Xi Shen
2016-10-05 10:29 ` Eli Zaretskii
2016-10-05 13:14 ` Xi Shen
2016-10-05 13:27 ` Eli Zaretskii
2016-10-07 0:54 ` Xi Shen [this message]
2016-10-07 7:52 ` Eli Zaretskii
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='CANO68EMDLc2AzyehLeKBEzPNQ_YC0zhhZj8LYiSGgfEu8a=scQ@mail.gmail.com' \
--to=davidshen84@gmail.com \
--cc=eliz@gnu.org \
--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.