diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-03-24 18:28:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-24 18:28:43 +0000 |
commit | 9a851728963966ecf296edaaa7fe26d6deb710a0 (patch) | |
tree | 4243bffde9f7b85b9021931c01e79162939c2a82 | |
parent | a0eb52bee1b3825839f267b10be23121f8a8b6c9 (diff) |
Colin Watson's man patch as posted to debian bug tracker numer #90281
-rw-r--r-- | docs/curl.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index b28b0495c..c650c9976 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -2,7 +2,7 @@ .\" nroff -man curl.1 .\" Written by Daniel Stenberg .\" -.TH curl 1 "15 March 2001" "Curl 7.7" "Curl Manual" +.TH curl 1 "24 March 2001" "Curl 7.7" "Curl Manual" .SH NAME curl \- get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or HTTPS syntax. @@ -128,7 +128,7 @@ content-type application/x-www-form-urlencoded. Compare to -F. If more than one -d/--data option is used on the same command line, the data pieces specified will be merged together with a separating &-letter. Thus, using '-d name=daniel -d skill=lousy' would generate a post chunk that looks like -'name=daniel&skill=lousy'. +\&'name=daniel&skill=lousy'. If you start the data with the letter @, the rest should be a file name to read the data from, or - if you want curl to read the data from stdin. The @@ -215,7 +215,7 @@ get attached in the post as a file upload, while the < makes a text field and just get the contents for that text field from a file. Example, to send your password file to the server, where -'password' is the name of the form-field to which /etc/passwd will be the +\&'password' is the name of the form-field to which /etc/passwd will be the input: .B curl @@ -325,7 +325,7 @@ directory. A quick and very simple example of how to setup a .I .netrc to allow curl to ftp to the machine host.domain.com with user name -'myself' and password 'secret' should look similar to: +\&'myself' and password 'secret' should look similar to: .B "machine host.domain.com login myself password secret" |