Created a RFE <https://sourceforge.net/p/oorexx/feature-requests/814/> and committed it with
<http://sourceforge.net/p/oorexx/code-0/12616> for milestone 5.1.0.
---rony
On 03.01.2023 11:25, Rony G. Flatscher wrote:
Thanks to everyone for the comments, information and ideas. Enclosed please find the next
iteration of that little script. Invoking it with "getOoRexxDocs.rex ?" yields the refurbished
(hopefully clearer) usage text:
getOoRexxDocs.rex [directory [needle]]
a utility to download the ooRexx documentation from
SourceForge
and save them in a subdirectory "docs.V" of the current
directory
where "V" is the specified version (e.g. "5.0.0")
no argument ... download all files from the directory carrying the
highest
version number
? or -h ... show this usage information
directory ... the SourceForge documentation directory to download
from,
usually named after the ooRexx version (e.g. "4.2.0",
"5.0.0", "5.1.0beta")
needle ... only downloads files from the SourceForge directory
which
contain the (caseless) needle in their names (e.g.
"-html.zip",
".pdf", "ref")
N.B.: This program uses "curl" on all platforms. You can find more
information
on the Internet or<https://curl.se>
and<https://en.wikipedia.org/wiki/CURL>.
[https://sourceforge.net/projects/oorexx/files/oorexx-docs/] currently
contains the following directories:
5.1.0beta
5.0.0
4.2.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.1
4.0.0
3.2.0
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
3.0.0
It now uses ' --noproxy "*" --insecure' (note that the wildcard is set under
quotes) in addition.
Any feedback, ideas?
---rony
On 02.01.2023 14:07, Rony G. Flatscher wrote:
One of the many new great features of ooRexx 5.0.0 is the ADDRESS...WITH
variant.
In order to demonstrate how to use it, here an idea: have a sample that uses curl command
(available on all modern operating systems) to fetch the latest ooRexx documentation files from
SourceForge and download them into a subdirectory named docs.V, where "V" would be the ooRexx
version. Supplying the optional ooRexx version (e.g. "4.2.0", "5.0.0", "5.1.0beta", etc.) would
download all the documentation files from the given SourceForge oorexx-docs directory.
What do you think, would that be a helpful sample to add to ooRexx?
---rony
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel