You may also use ... | xargs bash -c '...'
to reparse a string as command line arguments.
(Using xargs
may, however, not be the ideal solution for multiple platforms.)
# Example: find file names with a space
c=". -maxdepth 3 -name \"* *\""
printf '%s' "$c" | xargs bash -c 'set -xv; find "$@"' arg0 2>&1| less
Another option would be to use a shebang helper like shebang.c!