Mercurial > octave-nkf
diff src/DLD-FUNCTIONS/urlwrite.cc @ 9064:7c02ec148a3c
Check grammar on all .cc files
Same check as previously done on .m files
Attempt to enforce some conformity in documentation text for rules
such as two spaces after a period, commas around latin abbreviations, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 28 Mar 2009 13:57:22 -0700 |
parents | eb63fbe60fab |
children | 7f77e5081e83 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/urlwrite.cc Mon Mar 30 19:48:56 2009 -0400 +++ b/src/DLD-FUNCTIONS/urlwrite.cc Sat Mar 28 13:57:22 2009 -0700 @@ -209,8 +209,10 @@ @var{localfile}. For example,\n\ \n\ @example\n\ +@group\n\ urlwrite (\"ftp://ftp.octave.org/pub/octave/README\", \n\ \"README.txt\");\n\ +@end group\n\ @end example\n\ \n\ The full path of the downloaded file is returned in @var{f}. The\n\ @@ -224,8 +226,10 @@ the URL, for example:\n\ \n\ @example\n\ +@group\n\ urlwrite (\"http://username:password@@example.com/file.txt\",\n\ \"file.txt\");\n\ +@end group\n\ @end example\n\ \n\ GET and POST requests can be specified by @var{method} and @var{param}.\n\ @@ -234,8 +238,10 @@ For example:\n\ \n\ @example\n\ +@group\n\ urlwrite (\"http://www.google.com/search\", \"search.html\",\n\ \"get\", @{\"query\", \"octave\"@});\n\ +@end group\n\ @end example\n\ @seealso{urlread}\n\ @end deftypefn") @@ -391,8 +397,10 @@ For example,\n\ \n\ @example\n\ +@group\n\ s = urlread (\"http://www.google.com/search\", \"get\",\n\ @{\"query\", \"octave\"@});\n\ +@end group\n\ @end example\n\ @seealso{urlwrite}\n\ @end deftypefn")