Both of the replies thus far hold true for sh, bash etc. etc. - however the redirection doesn't work in the C shell - which is one of the 10 reasons that Tom Christiansen recommends that the use of C shell, especially for scripting, be forgotten forever.
In reply to Re^2: perl and shell
by Bloodnok
in thread perl and shell
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |