I recently had to use some code that was given to me, and in it the is this line
cat file -
Did someone know what the - mean.
I recently had to use some code that was given to me, and in it the is this line
cat file -
Did someone know what the - mean.
The - means "read from standard input" (this is a POSIX convention). Try this in your shell and you'll see cat repeat everything you type:
$> cat -