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


Message #35 received at 12689 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Aidan Gauland <aidalgol <at> no8wireless.co.nz>
Cc: 12689 <at> debbugs.gnu.org
Subject: Re: bug#12689: 24.2; Eshell ${cmd} substitution
Date: Wed, 09 Feb 2022 10:12:53 +0100
Aidan Gauland <aidalgol <at> no8wireless.co.nz> writes:

> In Eshell, ${cmd} expands to nil.
> e.g.
> $ echo ${/bin/echo -e "foo\nbar"}
> $ 
> Note the absence of any output from `echo'.
>
> $ echo ${/bin/echo -e "foo\nbar"}-foo
> nil-foo
> n$ 

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

Looks like this has been fixed in the decade since it was reported:

/ $ echo ${/bin/echo -e "foo\nbar"}
("foo" "bar")
/ $ echo ${/bin/echo -e "foo\nbar"}-foo
("foo" "bar")-foo

So I'm therefore closing this bug report.  If there's more to be done
here, please respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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