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

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

Re: eval bash command at eshell


From: Xi Shen
Subject: Re: eval bash command at eshell
Date: Fri, 07 Oct 2016 00:54:35 +0000

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 <address@hidden> wrote:

> > From: Xi Shen <address@hidden>
> > 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.


reply via email to

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