multiple URL adjustments

This commit is contained in:
Daniel Stenberg
2001-01-09 12:24:49 +00:00
parent a84625eca6
commit 4792eee5d0

View File

@@ -2,18 +2,19 @@
.\" nroff -man curl.1 .\" nroff -man curl.1
.\" Written by Daniel Stenberg .\" Written by Daniel Stenberg
.\" .\"
.TH curl 1 "5 January 2001" "Curl 7.5.2" "Curl Manual" .TH curl 1 "9 January 2001" "Curl 7.6" "Curl Manual"
.SH NAME .SH NAME
curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or
HTTPS syntax. HTTPS syntax.
.SH SYNOPSIS .SH SYNOPSIS
.B curl [options] .B curl [options]
.I url .I [URL...]
.SH DESCRIPTION .SH DESCRIPTION
.B curl .B curl
is a client to get documents/files from servers, using any of the is a client to get documents/files from or send documents to a server, using
supported protocols. The command is designed to work without user any of the supported protocols (HTTP, HTTPS, FTP, GOPHER, DICT, TELNET, LDAP
interaction or any kind of interactivity. or FILE). The command is designed to work without user interaction or any kind
of interactivity.
curl offers a busload of useful tricks like proxy support, user curl offers a busload of useful tricks like proxy support, user
authentication, ftp upload, HTTP post, SSL (https:) connections, cookies, file authentication, ftp upload, HTTP post, SSL (https:) connections, cookies, file
@@ -37,6 +38,9 @@ It is possible to specify up to 9 sets or series for a URL, but no nesting is
supported at the moment: supported at the moment:
http://www.any.org/archive[1996-1999]/volume[1-4]part{a,b,c,index}.html http://www.any.org/archive[1996-1999]/volume[1-4]part{a,b,c,index}.html
Starting with curl 7.6, you can specify any amount of URLs on the command
line. They will be fetched in a sequential manner in the specified order.
.SH OPTIONS .SH OPTIONS
.IP "-a/--append" .IP "-a/--append"
(FTP) (FTP)
@@ -316,11 +320,12 @@ or use several variables like:
curl http://{site,host}.host[1-5].com -o "#1_#2" curl http://{site,host}.host[1-5].com -o "#1_#2"
If this option is used serveral times, the last one will be used. You may use this option as many times as you have number of URLs.
.IP "-O/--remote-name" .IP "-O/--remote-name"
Write output to a local file named like the remote file we get. (Only Write output to a local file named like the remote file we get. (Only
the file part of the remote file is used, the path is cut off.) the file part of the remote file is used, the path is cut off.)
You may use this option as many times as you have number of URLs.
.IP "-p/--proxytunnel" .IP "-p/--proxytunnel"
When an HTTP proxy is used, this option will cause non-HTTP protocols to When an HTTP proxy is used, this option will cause non-HTTP protocols to
attempt to tunnel through the proxy instead of merely using it to do HTTP-like attempt to tunnel through the proxy instead of merely using it to do HTTP-like
@@ -441,10 +446,14 @@ password is specified, curl will ask for it interactively.
If this option is used serveral times, the last one will be used. If this option is used serveral times, the last one will be used.
.IP "--url <URL>" .IP "--url <URL>"
Set the URL to fetch. This option is mostly handy when you wanna specify URL Specify a URL to fetch. This option is mostly handy when you wanna specify
in a config file. URL(s) in a config file.
If this option is used serveral times, the last one will be used. This option may be used any number of times. To control where this URL is written, use the
.I -o
or the
.I -O
options.
.IP "-v/--verbose" .IP "-v/--verbose"
Makes the fetching more verbose/talkative. Mostly usable for Makes the fetching more verbose/talkative. Mostly usable for
debugging. Lines starting with '>' means data sent by curl, '<' debugging. Lines starting with '>' means data sent by curl, '<'