SyntaxFix
Write A Post
Hire A Developer
Questions
Use eval:
x="ls | wc" eval "$x" y=$(eval "$x") echo "$y"