I have a CLI which generates a bash script. How can I evaluate it immediatly without redirecting to a .sh file?
example is to change the following:
~: toolWhichGeneratesScript > tmp.sh
~: chmod +x tmp.sh
~: ./tmp.sh
to something like:
~: toolWhichGeneratesScript | evaluate
toolWhichGeneratesScriptmight create a very long script, in which case the other ones are safer.