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

[REBOL] Re: REBOL Cookbook in Beta

From: nitsch-lists:netcologne at: 29-Aug-2003 17:32

Am Freitag, 29. August 2003 07:13 schrieb [carl--rebol--com]:
> Volker, thanks for the suggestions and corrections. > > One of the goals for the Cookbook is to keep each "recipe" short and > focus on just one main idea. So, some of the suggestions can be > added as new articles. >
right, this "short and focused" is the tricky part. the third is, get them to play with it IMHO. I tried that in my first post: the text: find/any text "h*o" looks like black magic (regular expression? uuh). So i would mention dos-wildcards -> user at home. setting up a string in a file each time needs some setup to try out. so i made a ready-to-paste example, mentioning the console: text: "Rebol says: Hello world!" text: find/any text "h*o" if i added more, please delete it. the second article was while collecting ideas. the important parts are: people will try a "dir *.r" in rebol. its a slightly advanced. they should be pointed to files: read %docs/ remove-each file files [ not find/any/match file %*.r ;attention: do NOT remove ] probe files somehow. eventually a piece of sugar in the main article, we can do a "dir *.r" to, (presenting this code.) But how this works is a bit tricky ;) Then linking to an article explaining the code - there is a block of filenames, [%file1 %file2 ..] we have to search each filenames, not in the block (note i said 'each ;) - remove-each does NOT mean "remove each file" it means "remove filenames from block". don't panik ;) a standalone article linked: - find/any/match? *scratch head* well, the /any turns on wilrdcard (like dos). the /match: see following mail
> We will be adding "see also" link capability once we get a few more > articles. Also, we may eventually add a "user comments" section > following each article. > > I'll get those corrections made tomorrow.... >
BTW, if someone thinks my topics are worth refining, i try it. But you have to read the drafts here.. ;)
> -Carl
-Volker