GNU bug report logs - #12689
24.2; Eshell ${cmd} substitution

Previous Next

Package: emacs;

Reported by: Aidan Gauland <aidalgol <at> no8wireless.co.nz>

Date: Sat, 20 Oct 2012 08:09:02 UTC

Severity: normal

Found in version 24.2

Full log


View this message in rfc822 format

From: Samer Masterson <samer <at> samertm.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 12689 <at> debbugs.gnu.org
Subject: bug#12689: 24.2; Eshell ${cmd} substitution
Date: Wed, 04 Mar 2015 04:14:07 -0800
[Message part 1 (text/plain, inline)]
On Tue, Mar 3, 2015 at 7:54 AM, Eli Zaretskii <eliz <at> 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 talking about, then the commands may have appeared to 
be simultaneous because they were racing, but I'm not sure if that's 
intentional.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 43 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.