Hi!
>From http://mywiki.wooledge.org/BashFAQ/037 from...
> The following is a more extensive range of terminal sequence
variables. Pick the ones you want:
I picked
red=$( tput setaf 1|| tput AF 1 )
and the rest.
And I took the liberty to add "export" in front.
export red=$( tput setaf 1|| tput AF 1 )
So this easy, simple and nice access to colors in child scripts is
available as well.
Now, when running 'env' from child scripts, it's totally broken. It
doesn't show '$( tput setaf 1|| tput AF 1 )', but the literal
colors.
Is there any solution to that?
Cheers,
Patrick