This preserves spaces in trace pattern passed on the command line, such
as:
redbug foo@127.0.0.1 "foo:bar -> return"
Without this change, the trace pattern would have been broken up by the
shell script, and the only way to write that pattern would be without
spaces, "foo:bar->return". While doable, it's unintuitive, especially
as the part before "->" gets interpreted correctly, and you get a trace
that shows function calls but no return values.
This preserves spaces in trace pattern passed on the command line, such as:
redbug foo@127.0.0.1 "foo:bar -> return"
Without this change, the trace pattern would have been broken up by the shell script, and the only way to write that pattern would be without spaces, "foo:bar->return". While doable, it's unintuitive, especially as the part before "->" gets interpreted correctly, and you get a trace that shows function calls but no return values.