Mercurial > hg > octave-nkf
comparison scripts/pkg/private/get_forge_pkg.m @ 12575:d0b799dafede
Grammarcheck files for 3.4.1 release.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Mon, 04 Apr 2011 15:33:46 -0700 |
parents | 0ade5992e374 |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
12574:89604fa96d2f | 12575:d0b799dafede |
---|---|
16 ## along with Octave; see the file COPYING. If not, see | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | 17 ## <http://www.gnu.org/licenses/>. |
18 | 18 |
19 ## -*- texinfo -*- | 19 ## -*- texinfo -*- |
20 ## @deftypefn {Function File} {[@var{ver}, @var{url}] =} get_forge_pkg (@var{name}) | 20 ## @deftypefn {Function File} {[@var{ver}, @var{url}] =} get_forge_pkg (@var{name}) |
21 ## Tries to discover the current version of an OctaveForge package from the web, | 21 ## Try to discover the current version of an OctaveForge package from the web, |
22 ## using a working internet connection and the urlread function. | 22 ## using a working internet connection and the urlread function. |
23 ## If two output arguments are requested, returns also an address to download | 23 ## If two output arguments are requested, also return an address from which |
24 ## the file. | 24 ## to download the file. |
25 ## @end deftypefn | 25 ## @end deftypefn |
26 | 26 |
27 function [ver, url] = get_forge_pkg (name) | 27 function [ver, url] = get_forge_pkg (name) |
28 if (nargin != 1) | 28 if (nargin != 1) |
29 print_usage (); | 29 print_usage (); |