I knew you could do that, but never knew you could do it with "|&" as a shorthand. TIL!
I found this comment in a bash documentation example to verify:
# To send stderr through a pipe, "|&" was added to Bash 4 as an abbreviation for "2>&1 |".
I found this comment in a bash documentation example to verify:
# To send stderr through a pipe, "|&" was added to Bash 4 as an abbreviation for "2>&1 |".