Re: [WebDNA] output of all non alphaNumeric characters?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102201
interpreted = N
texte = Untested, but can't you just go with: [grep search=3D%20&replace=3D][grep=20 search=3D[%0D%0A%0B]*&replace=3D][unurl] [loop start=3D32&end=3D255&advance=3D1] [hideif [index]=3D127] [if ({[index] > 47) & ([index] < 58)|([index] > 64) &=20 ([index] < 91)|([index] > 96) & ([index] < 123)}] [else] [shell]echo [index] | awk '{printf("%c",=20 $1)}'[/shell] [/else] [/if] [/hideif] [/loop] [/unurl][/grep][/grep] GJK On Thu, 19 Mar 2009 13:46:02 -0500 Donovan Brooke wrote: > O.K., one last post to myself! ;-) (for archives sake) >=20 > The code below produces the list with no=20 >spaces/delimiters.. > and since the list > is static, I can now use the output to put in a=20 >convertchars > database (or what-have-you) to make for quicker > reference. Of course, you could do this all in a Bash > script as well.. (and then copy/paste the output to a > convertchars .db).. but this is a WebDNA list! > btw, I grabbed the page source output.. not the html=20 >output. >=20 > ***************************************** > [grep search=3D%20&replace=3D][grep=20 >search=3D[%0D%0A%0B]*&replace=3D][unurl] > [loop start=3D32&end=3D255&advance=3D1] > [hideif [index]=3D127] > [if ([index] > 47) & ([index] < 58)] > [else] > [if ([index] > 64) & ([index] < 91)] > [else] > [if ([index] > 96) & ([index] < 123)] > [else] > [shell]echo [index] | awk '{printf("%c",=20 >$1)}'[/shell] > [/else] > [/if] > [/else] > [/if] > [/else] > [/if] > [/hideif] > [/loop] > [/unurl][/grep][/grep] > ****************************************** >=20 > O.K., on to your regularly scheduled programming. >=20 > Donovan Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] output of all non alphaNumeric characters? (Donovan Brooke 2009)
  2. Re: [WebDNA] output of all non alphaNumeric characters? ("Gary Krockover" 2009)
  3. Re: [WebDNA] output of all non alphaNumeric characters? (Donovan Brooke 2009)
  4. Re: [WebDNA] output of all non alphaNumeric characters? (Donovan Brooke 2009)
  5. Re: [WebDNA] output of all non alphaNumeric characters? (Donovan Brooke 2009)
  6. [WebDNA] output of all non alphaNumeric characters? (Donovan Brooke 2009)
Untested, but can't you just go with: [grep search=3D%20&replace=3D][grep=20 search=3D[%0D%0A%0B]*&replace=3D][unurl] [loop start=3D32&end=3D255&advance=3D1] [hideif [index]=3D127] [if ({[index] > 47) & ([index] < 58)|([index] > 64) &=20 ([index] < 91)|([index] > 96) & ([index] < 123)}] [else] [shell]echo [index] | awk '{printf("%c",=20 $1)}'[/shell] [/else] [/if] [/hideif] [/loop] [/unurl][/grep][/grep] GJK On Thu, 19 Mar 2009 13:46:02 -0500 Donovan Brooke wrote: > O.K., one last post to myself! ;-) (for archives sake) >=20 > The code below produces the list with no=20 >spaces/delimiters.. > and since the list > is static, I can now use the output to put in a=20 >convertchars > database (or what-have-you) to make for quicker > reference. Of course, you could do this all in a Bash > script as well.. (and then copy/paste the output to a > convertchars .db).. but this is a WebDNA list! > btw, I grabbed the page source output.. not the html=20 >output. >=20 > ***************************************** > [grep search=3D%20&replace=3D][grep=20 >search=3D[%0D%0A%0B]*&replace=3D][unurl] > [loop start=3D32&end=3D255&advance=3D1] > [hideif [index]=3D127] > [if ([index] > 47) & ([index] < 58)] > [else] > [if ([index] > 64) & ([index] < 91)] > [else] > [if ([index] > 96) & ([index] < 123)] > [else] > [shell]echo [index] | awk '{printf("%c",=20 >$1)}'[/shell] > [/else] > [/if] > [/else] > [/if] > [/else] > [/if] > [/hideif] > [/loop] > [/unurl][/grep][/grep] > ****************************************** >=20 > O.K., on to your regularly scheduled programming. >=20 > Donovan "Gary Krockover"

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:

[OT] Position vacant in Sydney, Australia (2006) searching by date range help needed (1997) Bad Cookie / Internet Option / Internet Explorer (2004) Not really WebCat (1997) ACGI processing for .html (1997) WC2.0 Memory Requirements (1997) Cyberstudio and WebDNA (1997) # fields limited? (1997) suggestions for a good text editor on windows? (2005) formvars available in formulas.db? (2000) WebCat2 beta FTP site (1997) Search bug. Help (2002) Nested Loops and SHOWIFs (1997) Submit buttons not working.... (1999) Embedded [Search] Context Snippets (Very Useful) (1998) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) SiteEdit NewFile.html ? (1997) Summing fields (1997) [random] only for 1-100??? (1997) BGcolor (1997)