Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] find/any and a filename series does not intuitively glob

From: princepawn::lycos::com at: 6-Sep-2000 12:02

I would like to know how to do wildcard searches on a series which contains filenames as its elements...
>> e
== [%%backup%~ %.autosave/ %.forward %.pgp/ %.rhosts %.saves-1309-crossftp3 %bin/ %crossing/ %dev/ %emacs-20.7.tar.gz %etc/ %test/ ...
>> find e %etc/
== [%etc/ %test/ %user.r %usr/ %xemacs-21.1.3-sparc-sun-solaris2.6.tar.gz %xing.tar]
>> find e to-file "etc/"
== [%etc/ %test/ %user.r %usr/ %xemacs-21.1.3-sparc-sun-solaris2.6.tar.gz %xing.tar]
>> find e to-file "etc"
== none
>> find/any e to-file "etc*"
== none
>> find/any e to-file "etc?"
== none