e.g. if inner.bash is simply echo a b c, and outer.bash calls inner.bash, how can the results of inner.bash be captured in a variable for user in outer.bash? It’s pretty simple but I don’t actually know how to do this.
e.g. if inner.bash is simply echo a b c , and outer.bash calls inner.bash
Share
inner.bash:
outer.bash:
So the basic thing are the backquotes `bla` gives you back the outcome of bla.