One can do $ wget -O A B; wget -O C D But there is no way to combine them: $ wget -O A B -O C D # or $ wget -i - <<EOF -O A B -O C D EOF to avoid more DNS etc. queries.
Wait! On the INFO page we read ...big security risk. To work around it, use ‘wget -i -’ and feed the URLs to Wget’s standard input, each on a separate line, terminated by ‘C-d’. So maybe indeed one can do this! OK but you need to document it in the -i discussions! In fact the -i discussions never mention the format of the input file regarding how many items / options can be on one text line. Alas, $ echo http://example.com/x -O A | wget -d -i - --2019-12-14 08:20:42-- http://example.com/x%20-O%20A So the -i discussions need to mention that any spaces will be considered part of the filename. And there should be an new --command-lines that would be like -i, but allow the user to use -O etc. In it, spaces would separate options. To use a real space in a filename, the user would use %20. Or escape it with backslash or something. (OK, one can do curl W -o X Y -o Z)
