It's because when you execute a piped chain of programs, the last program in the chain will receive the signal.
In reply to Re: problem with redirection and piping
by BrowserUk
in thread problem with redirection and piping
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |