From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samer Masterson Newsgroups: gmane.emacs.bugs Subject: bug#12689: 24.2; Eshell ${cmd} substitution Date: Wed, 04 Mar 2015 04:14:07 -0800 Message-ID: <1425471247.1450.2@mail.samertm.com> References: <1424775372.11596.6@mail.samertm.com> <83bnkaqdp9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=-mKlQu5t04a1vrM8PAeVm" X-Trace: ger.gmane.org 1425471323 21830 80.91.229.3 (4 Mar 2015 12:15:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2015 12:15:23 +0000 (UTC) Cc: 12689@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 13:15:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YT8Cl-0004ST-Jg for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 13:15:11 +0100 Original-Received: from localhost ([::1]:43425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT8Ck-0007AV-UU for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 07:15:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT8Cg-00079B-QJ for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 07:15:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YT8Cc-0007eR-O1 for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 07:15:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YT8Cc-0007eF-LH for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 07:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YT8Cc-0007ak-9J for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 07:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Samer Masterson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2015 12:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12689 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12689-submit@debbugs.gnu.org id=B12689.142547126529103 (code B ref 12689); Wed, 04 Mar 2015 12:15:02 +0000 Original-Received: (at 12689) by debbugs.gnu.org; 4 Mar 2015 12:14:25 +0000 Original-Received: from localhost ([127.0.0.1]:34674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YT8C0-0007ZK-Qi for submit@debbugs.gnu.org; Wed, 04 Mar 2015 07:14:25 -0500 Original-Received: from ec2-52-0-7-12.compute-1.amazonaws.com ([52.0.7.12]:35049 helo=samertm.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YT8By-0007Z5-IR for 12689@debbugs.gnu.org; Wed, 04 Mar 2015 07:14:23 -0500 Original-Received: from [10.0.1.9] (199-83-223-33.PUBLIC.monkeybrains.net [199.83.223.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by samertm.com (Postfix) with ESMTPSA id 1FAC942D22; Wed, 4 Mar 2015 12:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samertm.com; s=mail; t=1425471242; bh=YEVP2201BgZ7l2xH0Zrg9b/7+VtWYXxkt9DsejMkItQ=; h=Date:From:Subject:To:Cc:In-Reply-To:References:From; b=Z+eXGPXUut1idoSHmgrUsdwH891vUJZyORH+w8VINqeorZC7uRXSFyPqMAEgTOmKj uJbAZgnuXJ6/ztZQ/rTu0XHDmqf4kJA4Y6AsJPNpJPc5cqrX9gVUbaTJECK0+NnmWx CoisWfIMl3FH6mI2ZCKR4C+Ygjqkw74vH9lVkCj0= In-Reply-To: <83bnkaqdp9.fsf@gnu.org> X-Mailer: geary/0.9.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:100046 Archived-At: --=-mKlQu5t04a1vrM8PAeVm Content-Type: text/plain; charset=utf-8; format=flowed On Tue, Mar 3, 2015 at 7:54 AM, Eli Zaretskii wrote: > Does this have any effect on the feature where Eshell can run several > commands simultaneously via a shell-like pipe? > > Thanks. I don't know what feature you're describing. Here is the output from running regular pipes: ~ $ echo hello | /bin/echo there | /bin/echo hey | echo hi # Without patch hi hey ~ $ echo hello | /bin/echo there | /bin/echo hey | echo hi # With patch hi hey there hello First, we should ignore the fact that echo does nothing with stdin, and the above commands print "hi" in bash. I do not understand why the command without the patch only prints out "hey\nhi", but it printed that consistently on my computer. The second output is incorrect (or at the very least unexpected?), but less incorrect than the first. If this is what you were talking about, then the commands may have appeared to be simultaneous because they were racing, but I'm not sure if that's intentional. --=-mKlQu5t04a1vrM8PAeVm Content-Type: text/html; charset=utf-8 On Tue, Mar 3, 2015 at 7:54 AM, Eli Zaretskii <eliz@gnu.org> wrote:
Does this have any effect on the feature where Eshell can run several commands simultaneously via a shell-like pipe? Thanks.

I don't know what feature you're describing. Here is the output from running regular pipes:

~ $ echo hello | /bin/echo there | /bin/echo hey | echo hi # Without patch
hi
hey
~ $ echo hello | /bin/echo there | /bin/echo hey | echo hi # With patch
hi
hey
there
hello

First, we should ignore the fact that echo does nothing with stdin, and the above commands print "hi" in bash. I do not understand why the command without the patch only prints out "hey\nhi", but it printed that consistently on my computer. The second output is incorrect (or at the very least unexpected?), but less incorrect than the first. If this is what you were t alking about, then the commands may have appeared to be simultaneous because they were racing, but I'm not sure if that's intentional.
--=-mKlQu5t04a1vrM8PAeVm--