Possible Duplicate:
What does “--” (double-dash) mean?
Single dashes-
for single-character options, but double dashes--
for words?
I was reading the man zip page and I found this examples:
[...] using the command
unzip -p backup | tar xf -
When [...] For example,
tar cf - . | zip | dd of=/dev/nrst0 obs=16k
is equivalent to
tar cf - . | zip - - | dd of=/dev/nrst0 obs=16k
I' like know the minus utility of these cases. Why two minus signs are written in the third case?
--
in this question. Its
- -`, meaning create the ZIP file on standard output, and read the data to compress from standard input. So I'm pretty sure it's http://unix.stackexchange.com/questions/16357/usage-of-dash-in-place-of-a-filename. – Mikel Jun 25 '12 at 17:14