help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] colors break `env`, any solution?


From: Eduardo A . Bustamante López
Subject: Re: [Help-bash] colors break `env`, any solution?
Date: Sat, 21 Mar 2015 20:18:55 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

> Now, when running 'env' from child scripts, it's totally broken.
It isn't *broken*. It works exactly as advertised.

> Is there any solution to that?
foo=$(bar) runs `bar' and assigns its output to the `foo' variable. There's no
reason for the _command substitution_ (that is, $(bar) ), to be preserved after
that.

It's hard to tell what an appropiate "solution" would be here, since everything
is worked as documented. Perhaps if you explain your goal clearly?



reply via email to

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