I would like to do bash -c '<some smart bash script>' that would output the actual string passed to -c.
In other words, if SCRIPT is set to that smart script, bash -c "$SCRIPT" should yield what’s in $SCRIPT.
Is that possible? If yes, how?
Thanks
See
man bashIf you try
it will give you