logoalt Hacker News

ButlerianJihadtoday at 2:42 AM1 replyview on HN

They are actually not “order-independent”, and their L-R parsing/processing is why constructs such as

  cat file > /dev/null 2>&1
work as intended.

Replies

ablobtoday at 2:54 AM

funny enough,

  2>&1 >/dev/null cat file
appears to yield the same output. So i wonder where the not "order-independent" chimes in.
show 3 replies