Re: [WebDNA] output of all non alphaNumeric characters?
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102200
interpreted = N
texte = O.K., one last post to myself! ;-) (for archives sake)The code below produces the list with no spaces/delimiters..and since the listis static, I can now use the output to put in a convertcharsdatabase (or what-have-you) to make for quickerreference. Of course, you could do this all in a Bashscript as well.. (and then copy/paste the output to aconvertchars .db).. but this is a WebDNA list!btw, I grabbed the page source output.. not the html output.*****************************************[grep search=%20&replace=][grep search=[%0D%0A%0B]*&replace=][unurl][loop start=32&end=255&advance=1] [hideif [index]=127] [if ([index] > 47) & ([index] < 58)] [else] [if ([index] > 64) & ([index] < 91)] [else] [if ([index] > 96) & ([index] < 123)] [else] [shell]echo [index] | awk '{printf("%c", $1)}'[/shell] [/else] [/if] [/else] [/if] [/else] [/if] [/hideif][/loop][/unurl][/grep][/grep]******************************************O.K., on to your regularly scheduled programming.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
O.K., one last post to myself! ;-) (for archives sake)The code below produces the list with no spaces/delimiters..and since the listis static, I can now use the output to put in a convertcharsdatabase (or what-have-you) to make for quickerreference. Of course, you could do this all in a Bashscript as well.. (and then copy/paste the output to aconvertchars .db).. but this is a WebDNA list!btw, I grabbed the page source output.. not the html output.*****************************************[grep search=%20&replace=][grep search=[%0D%0A%0B]*&replace=]
[unurl][loop start=32&end=255&advance=1] [hideif [index]=127] [if ([index] > 47) & ([index] < 58)] [else] [if ([index] > 64) & ([index] < 91)] [else] [if ([index] > 96) & ([index] < 123)] [else]
[shell]echo [index] | awk '{printf("%c", $1)}'[/shell] [/else] [/if] [/else] [/if] [/else] [/if] [/hideif][/loop][/unurl][/grep][/grep]******************************************O.K., on to your regularly scheduled programming.Donovan-- Donovan D. Brooke PH: 1 (608) 770-3822------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Donovan Brooke
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
suffix mapping for NT? (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Where is f2? (1997)
Nested tags count question (1997)
Help with Repost Data msg from form (1997)
CAPTCHA (2006)
SiteEdit NewFile.html ? (1997)
BBEdit and WebCatalog 2.0? (1997)
Problems appending to database (1997)
[OT] Help Webcat 213 win (2000)
Fedora Core 6 (2007)
The Guru Speaks (1998)
My URL, Your URL (2002)
Multiple Newcarts (1996)
Setting up shop (1997)
wild question (1998)
F3 crashing server (1997)
[WebDNA] improvements (2015)
[authenticate] was [TIME] not working (2007)
New commands in Final candidate (1997)