Re: [WebDNA] grep again

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104414
interpreted = N
texte = Brian Fries wrote: > The workaround for GREP of %0A is to put the %0A into square brackets. > > [grep search=[%0A]&replace=
][x][/grep] > > The square brackets tell GREP to match for any characters listed within them, in this case only one character, the LF (%0A). This gets around what certainly appears to be a WebDNA bug. > > Brian Fries > BrainScan Software Right, WebDNA's grep, though loosely based off of the open source grep, is it's own app that is geared more towards working in the context of our type of app. (a Web-focused server-side language). It should definitely be better documented, but may be a difficult venture at this point.. since it was a 3rd party solution that I don't think is still active. (Jaz would have to look into it I guess) Note that you can always use the open source grep on *nix machines as well, and we always have the custom convertchars as an option. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] grep again (William DeVaul 2010)
  2. Re: [WebDNA] grep again (Govinda 2010)
  3. Re: [WebDNA] grep again (Brian Fries 2010)
  4. Re: [WebDNA] grep again (Bob Minor 2010)
  5. Re: [WebDNA] grep again (Kenneth Grome 2010)
  6. Re: [WebDNA] grep again (Tom Duke 2010)
  7. Re: [WebDNA] grep again (Bob Minor 2010)
  8. Re: [WebDNA] grep again (Brian Fries 2010)
  9. Re: [WebDNA] grep again (Govinda 2010)
  10. Re: [WebDNA] grep again (Kenneth Grome 2010)
  11. Re: [WebDNA] grep again (Donovan Brooke 2010)
  12. Re: [WebDNA] grep again (Brian Fries 2010)
  13. Re: [WebDNA] grep again (Bob Minor 2010)
  14. Re: [WebDNA] grep again: (how to handle replacing linefeed char?) (Govinda 2010)
  15. Re: [WebDNA] grep again (Kenneth Grome 2010)
  16. Re: [WebDNA] grep again (christophe.billiottet@webdna.us 2010)
  17. Re: [WebDNA] grep again (Kenneth Grome 2010)
  18. Re: [WebDNA] grep again (Tom Duke 2010)
  19. Re: [WebDNA] grep again (Bob Minor 2010)
  20. Re: [WebDNA] grep again (Tom Duke 2010)
  21. Re: [WebDNA] grep again (Kenneth Grome 2010)
  22. Re: [WebDNA] grep again (Bob Minor 2010)
  23. Re: [WebDNA] grep again (Kenneth Grome 2010)
  24. Re: [WebDNA] grep again (Bob Minor 2010)
  25. Re: [WebDNA] grep again (Kenneth Grome 2010)
  26. Re: [WebDNA] grep again (Bob Minor 2010)
  27. [WebDNA] grep again (Kenneth Grome 2010)
Brian Fries wrote: > The workaround for GREP of %0A is to put the %0A into square brackets. > > [grep search=[%0A]&replace=
][x][/grep] > > The square brackets tell GREP to match for any characters listed within them, in this case only one character, the LF (%0A). This gets around what certainly appears to be a WebDNA bug. > > Brian Fries > BrainScan Software Right, WebDNA's grep, though loosely based off of the open source grep, is it's own app that is geared more towards working in the context of our type of app. (a Web-focused server-side language). It should definitely be better documented, but may be a difficult venture at this point.. since it was a 3rd party solution that I don't think is still active. (Jaz would have to look into it I guess) Note that you can always use the open source grep on *nix machines as well, and we always have the custom convertchars as an option. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com 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:

PCS Frames (1997) REDIRECT MULTIPLE RESULTS (2000) another problem (1997) Help! WebCat2 bug (1997) Include a big block of text (1997) This list needs a digest: rant, rave... (1997) Mail Server Software (1998) WebCat2 beta 11 - new prefs ... (1997) WC2.0 Memory Requirements (1997) [WebDNA] smallest amount on code to convert 1 character? (2018) Help DebugLevel Content-type: text/html (1998) WebCat2b15MacPlugin - showing [math] (1997) Almost a there but..bye bye NetCloak (1997) Sendmail and Formvariables (2000) [OT] Bit of New Zealand Fun (2004) Running WebCat from a CD-ROM (1997) Trouble with formula.db (1997) Carrying Forward (1998) TCPconnect to DNS (2000) WC 2.0 frames feature (1997)