Comment by kazinator
13 hours ago
It's not inconsistent. The & is attached to the redirection operator, not to the 1 token. The file descriptor being redirected is also attached:
Thus you cannot write:
2 > &1
You also cannot write
2 >& 1
However you may write
2>& 1
The n>& is one clump.
No comments yet
Contribute on Hacker News ↗