Yep. Writing "<file " is just as good as "cat file |". Still I'm more used to writing cat. The only (marginal) advantage of cat over explicit redirection at the beginning is maybe that you can split the lines more cleanly with cat:
cat file |\
program1 |\
program2 |\
...
If you use a redirection, since the command does not start with a pipe the symmetry is broken.
Redirections at the start of the line are fun. I have an alias
alias null='>/dev/null 2>/dev/null'
this allows to run GUI programs without cluttering the terminal with useless GTK/QT warnings:
this is incredible, I had already given up on this, and the solution was in front of my eyes the whole time! You have just greatly enhanced the elegance of several scripts in my lab.
Redirections at the start of the line are fun. I have an alias
this allows to run GUI programs without cluttering the terminal with useless GTK/QT warnings: