top | item 47174205

(no title)

nodesocket | 3 days ago

I understand how this works, but wouldn’t a more clear syntax be:

command &2>&1

Since the use of & signifies a file descriptor. I get what this ACTUALLY does is run command in the background and then run 2 sending its stout to stdout. That’s completely not obvious by the way.

discuss

order

dheera|2 days ago

even clearer syntax:

command &stderr>&stdout

jolmg|2 days ago

You're not limited to the standard file descriptors.

  command 4>&3