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