I have a source input, input.txt
a.txt b.txt c.txt
I want to feed these input into a program as the following:
<
It's because echo prints a newline. Try something like
echo
echo my-program `xargs --arg-file input.txt -i echo -n " --file "{}`