(echo red; echo green 1>&2) | echo blue
This can output any of ‘blue green’ (with a newline between them), ‘green
blue,’ or ‘blue’; the usual case is ‘blue green.’ Fully explaining this
requires surprisingly arcane Unix knowledge.” In this succinct blog post,
Chris Siebenmann elucidates.