From old habits, I'm always redirecting "from left to right", eg.
cat file | bar
foo | bar
I've noticed you can redirect "from right to left". However, is it possible to do this for the second form (eg. from one program to another)?
bar < file
bar ??? foo
Also, I'm curious if there is any conventions for when to use "from left" Vs. "from right", or if it's just matter of preference or whatever is most short or elegant.
bar < file
isn't piping, it's input redirection.