Skip to main content
1 of 2

How does redirection work between arguments

Given a command like this:

command <inputfile> <outputfile>

And then called like this:

command FileA > FileC FileB

It takes A and B as input and outputs to C. But how can it parse the third argument, since the output redirection is between the arguments?