I'm used to specify output redirection on the end of the line like:
echo blah > output.txt
Both in Windows and *nix.
Recently I'm seeing more and more examples that redirect at the beginning of the line, like:
> output.txt echo blah
Again, this seems to work both on Windows and *nix.
Is there any advantage to redirect the output at the beginning of a line? Does it behave identically to redirecting at the end of a line or is there some difference? Why are there even the two options?