From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Xi Shen Newsgroups: gmane.emacs.help Subject: Re: eval bash command at eshell Date: Wed, 05 Oct 2016 13:14:24 +0000 Message-ID: References: <83shsbks1x.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1475673689 26391 195.159.176.226 (5 Oct 2016 13:21:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2016 13:21:29 +0000 (UTC) To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 05 15:21:19 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1brm87-0004IM-CC for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 15:21:03 +0200 Original-Received: from localhost ([::1]:49109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brm85-0004iw-Qr for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Oct 2016 09:21:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brm1x-0000Fk-3R for help-gnu-emacs@gnu.org; Wed, 05 Oct 2016 09:14:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1brm1u-0006tK-W7 for help-gnu-emacs@gnu.org; Wed, 05 Oct 2016 09:14:39 -0400 Original-Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:34651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1brm1s-0006sY-6F; Wed, 05 Oct 2016 09:14:36 -0400 Original-Received: by mail-oi0-x235.google.com with SMTP id n132so205723248oih.1; Wed, 05 Oct 2016 06:14:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YCUlGOXYF5R7QJUdR+tUALs7vVUe4uQGXA20wBd15Y0=; b=fOBMvd2Oq+NVOKpKWVJtPlwJWkT9mDZEfOF1mZbzB7p6yOytbs/qqoxtUmxRVtJVq1 LAkojLyU2rTnO5qJe2L8NzGnA8J2UGXBCqh5WnDR6s9bR8ohbVdhfLfIBjlroF1+uAMi s+5Z+xD+NzKT7ZcDXLF81Uh8TsQNaicZC6BksarqS2F2RkXRqOEOanLGJexsvbxB9Xyd f+KFEFMcBNc7gnGHa82bc9hvA/4tJdXIOF+ZdwKrIlQc997pgkw/v1wiO1AzIbIcvqGj gcXe48ZCZ8Vqub+lWtWlJVdK3sbcTX3pfLfXt+cykGxCRuxkUJvRpCTq6+RULaJaWf/o G+gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YCUlGOXYF5R7QJUdR+tUALs7vVUe4uQGXA20wBd15Y0=; b=FH7F9/9J5YqXqtiCnJAuzhuf5Ecs43SBAZ2GVnIWAvBxuY1AoS89/SBgu0rLvsyguO s3Q1iGlvf+u8rZriap/2rAcYwyASLWvRDspU7++IC082I9uuwk4KOTxOE8dh9pZxj+b0 Pkxb+GY+k9g75VZnZy1IVXNKK4TWiDJ7bMtZlnC9BznjWb80XOiIFB5sgYgSvisyh+aE 3rcvmdprnpK1QrxsMPvKVOlidwviERr8NjXGILlTTTd+cXgp203Qm2GAYspvtsDR04TH 3y/bO75w7lpu1FhF+tsR/x/aKMpaodsReIW4u5Gyp9HVtFhKPJI37GXu+d0KuGf6VAXX D+FQ== X-Gm-Message-State: AA6/9RkuJ4eTLxrjsD0L80HiNiFGveFN2TlEYsmcxlnuQXUPTaQgplsvZjpybJjmfTc0+hoFujfmYJP6kN6xlg== X-Received: by 10.157.13.22 with SMTP id 22mr5782360oti.193.1475673275396; Wed, 05 Oct 2016 06:14:35 -0700 (PDT) In-Reply-To: <83shsbks1x.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::235 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111462 Archived-At: Hi Eli, 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. On Wed, Oct 5, 2016 at 6:30 PM Eli Zaretskii wrote: > > From: Xi Shen > > Date: Wed, 05 Oct 2016 02:52:55 +0000 > > > > When I am working in eshell, the "eval" at the command refers to the eval > > function in elisp...how can I get the bash "eval" working in the eshell > > environment? > > According to the Eshell manual (hint, hint), *eval should do that, > i.e. prepend an asterisk to a command to invoke the external command. > > -- Thanks, David S.