RE: [WebDNA] Grep
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103984
interpreted = N
texte = Ok, so I have done some testing and followed everyones suggestion but still= having the problem with the + sign disappearing.So I did a test with this code: [Search db=3Dtest.txt&eqTitledata=3D[blank]][numfound]
Test A: [getchars start=3D1&end=3D&trim=3Dright][Description1][/get=chars] [grep search=3D *$&replace=3D][Description2][/grep]
Test B: [ReplaceFoundItems]Title=3D[getchars start=3D1&end=3D&trim==3Dright][Description1][/getchars] [grep search=3D *$&replace=3D][Descripti=on2][/grep][/ReplaceFoundItems] [/Search]The results from Test A were what was expected: 25PK DVD+RW 16X 4.7GB BRAND=ED SPINDLEThe results from Test B were not: 25PK DVD RW 16X 4.7GB BRANDED SPINDLEIt seem to me that there is something going on with the [ReplaceFoundItems]= command. Any thoughts?-----Original Message-----From: Govinda [mailto:govinda.webdnatalk@gmail.com]Sent: Tuesday, November 10, 2009 10:47 AMTo: talk@webdna.usSubject: Re: [WebDNA] GrepPS - those are double spaces inside the grep search param. (in thelast test I posted)------------Govindagovinda.webdnatalk@gmail.com---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D=288
Associated Messages, from the most recent to the oldest:
Ok, so I have done some testing and followed everyones suggestion but still= having the problem with the + sign disappearing.So I did a test with this code: [Search db=3Dtest.txt&eqTitledata=3D[blank]][numfound]
Test A: [getchars start=3D1&end=3D&trim=3Dright][Description1][/get=chars] [grep search=3D *$&replace=3D][Description2][/grep]
Test B: [replacefounditems]Title=3D[getchars start=3D1&end=3D&trim==3Dright][Description1][/getchars] [grep search=3D *$&replace=3D][Descripti=on2][/grep][/ReplaceFoundItems] [/Search]The results from Test A were what was expected: 25PK DVD+RW 16X 4.7GB BRAND=ED SPINDLEThe results from Test B were not: 25PK DVD RW 16X 4.7GB BRANDED SPINDLEIt seem to me that there is something going on with the [replacefounditems]= command. Any thoughts?-----Original Message-----From: Govinda [mailto:govinda.webdnatalk@gmail.com]Sent: Tuesday, November 10, 2009 10:47 AMTo: talk@webdna.usSubject: Re: [WebDNA] GrepPS - those are double spaces inside the grep search param. (in thelast test I posted)------------Govindagovinda.webdnatalk@gmail.com---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list .To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usold archives: http://dev.webdna.us/TalkListArchive/Bug Reporting: http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D=288
Mark Bergkvist
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:
Queertrons? (1997)
problem: mail changed (1997)
ODBC (2000)
Not really WebCat (1997)
RE: [WebDNA] Installing WebDNA on Windows 7 (2009)
Showing unopened cart (1997)
[REFERRER] works with form posts (2003)
shipcost (1997)
Is this possible, WebCat2.0 and checkboxes (1997)
emailer (1997)
Customer - again (1998)
Help w/Multi User Admins (1997)
multipart (2004)
Error: Too many nested [xxx] contexts (1997)
Emailer (WebCat2) (1997)
Error Msg (1997)
New index for docs (1997)
WCS Newbie question (1997)
2.0 Info (1997)
Stat analyzer (1997)