On 2023-01-03 04:25:33 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>.
[snip] > Any feedback, ideas? > > ---rony I'm curious as to where you obtained the shortcut .resources syntax used in the usage handler in this program? It is simply | say .resources~usage but the Language Reference only shows | say .resources[name]~makeString which is harder to remember. Leslie -- Platform: Linux Distribution: openSUSE Leap 15.4 (x86_64) _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel