Can someone explain to me the difference between the following two fragments of code, and why one works differently to the other: First fragment:
@Call = "gawk -f test.gawk test.file > out.file";
@Call = "gawk";
@Call = "-f";
@Call = "test.gawk";
@Call = "test.file";
@Call = ">";
@Call = "out.file";
The first example works as planned - the second example runs the gawk script, but doesn't redirect the output. I've tried other variations, none of which work.
Can anyone help me understand how to implement a redirection like in the second example?