5

Given this diff command:

./a.out < 1.in | diff - 1.out

What does - mean after the word diff?
Thanks for the help!

1 Answers1

7

Traditionally, - means stdin (standard input). As you're redirecting, the output of the first command is the input of the second.