Option -O file
is used to have wget
output to a specific file
.
Why does wget -O- "$url"
output to stdout? There is no such expression -O-
in man wget
. Why does the second character -
in -O-
mean downloading the "$url"
and outputting it to stdout?