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:
<
How about:
echo $'a.txt\nb.txt\nc.txt' | xargs -n 3 sh -c ' echo my-program --file="$1" --file="$2" --file="$3" ' argv0