This question already has an answer here:
I would like to pass multiple arguments to the Tor browser (firefox) programatically through a function arbitrarily entitled
tor. This is so as to command
tor search terms and voila! My search terms. When using these three variations,
~/tor-browser_en-US/Browser/start-tor-browser -search "$(echo $@)" eval "~/tor-browser_en-US/Browser/start-tor-browser -search \"$@\"" ~/tor-browser_en-US/Browser/start-tor-browser -search "$@"
only the first two lines seem to perform identically. They result in a single Tor browser window searching for terms of arbitrary textual content. However, the third line results in one new search window per word.
Why this behavior?
Let me clarify. I am not searching for workarounds but rather am just interested in an explanation regarding the bahviour.