Article 56XXE How is the bash subshell `sed` output to be put in the main shell environment variable

How is the bash subshell `sed` output to be put in the main shell environment variable

by
BudiKusasi
from LinuxQuestions.org on (#56XXE)
How to put the bash subshell sed output into the main/root shell environment variable ?

it'll fail,

Code:v=`echo NO |tee >(sed 's/^/&YES/' )`How's the true to solve it?latest?d=yIl2AUoC8zA latest?i=Qz5yfkzs04M:9eSJFPA-x-I:F7zBnMy latest?i=Qz5yfkzs04M:9eSJFPA-x-I:V_sGLiP latest?d=qj6IDK7rITs latest?i=Qz5yfkzs04M:9eSJFPA-x-I:gIN9vFwQz5yfkzs04M
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments