2 ms·
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 canno
by kazinator 8mo 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.