I have some command foo that produces a list of files (one per line).
foo
I\'d like to safely use that in command substitution; e.g. git checkout ... -- $(
git checkout ... -- $(