Given this diff command:./a.out < 1.in | diff - 1.out  What does - mean after the word diff?Thanks for the help!
What does dash - mean in Unix command line?
diff
Traditionally, - means stdin (standard input). As you're redirecting, the output of the first command is the input of the second.