This is incorrect, as more options can be specified before each URL, and each set of options only applies to the URL after it (if I understand correctly. It's unclear).
You can also specify flags after the URL, as mentioned in the MANUAL section referenced below, which is odd and I don't think it's documented.
I'm not sure how to improve it without making it over-complicated. Maybe [[options] [URL ...]] ....
(man(7) uses a similar [[section] page[.section] ...] ...)
The manpage does say "curl will attempt to re-use connections for multiple file transfers", but doesn't explain how to go about it (e.g. with flags before each URL).
The file MANUAL contains the section "MULTIPLE TRANSFERS WITH A SINGLE COMMAND LINE". It's informative and should be copied to the manpage, after the section about re-using connections.
The text was updated successfully, but these errors were encountered:
curl's ability to re-use connections is totally unrelated to how you put the arguments on the command line... It will always attempt to re-use connections no matter that.
The quoted paragraph clued me to the fact that I can probably use curl to download several files in sequence from the same server. My next question was how to specify a new filename for each URL, and I had to search the web for an example, as the manpage wasn't helpful.
I don't want the man page to turn into the tutorial though, the size of the man page is already daunting. I'm proposing #2517 as a minimal change to state that options and URLs can be mixed on the command line.