Re: Grepping a csv

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53784
interpreted = N
texte = Can grep do an or inside the search context ie find "this" or "that" and replace it with "there"? On Nov 3, 2003, at 4:34 PM, devaulw@onebox.com wrote: > You are running into the "grep is greedy" concept. Is is probably > finding one match for you. You might try replacing the (.*) with > ([^"]*) and see if that works. > > Bill ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Grepping a csv ( William DeVaul 2003)
  2. Re: Grepping a csv ( Rob Marquardt 2003)
  3. Re: Grepping a csv ( Bob Minor 2003)
  4. Re: Grepping a csv ( devaulw@onebox.com 2003)
  5. Grepping a csv ( Bob Minor 2003)
Can grep do an or inside the search context ie find "this" or "that" and replace it with "there"? On Nov 3, 2003, at 4:34 PM, devaulw@onebox.com wrote: > You are running into the "grep is greedy" concept. Is is probably > finding one match for you. You might try replacing the (.*) with > ([^"]*) and see if that works. > > Bill ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Bob Minor

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:

WCS Newbie question (1997) WebCommerce: Folder organization ? (1997) Clearing cart headers (2000) New Guestbook Source (1997) [cart] not being interpreted inside [founditems] (1997) Help! WebCat2 bug (1997) A question on sub-categories (1997) Pop-Up Redirects (1998) AuthorizeNet Bug (2002) Is the Finder required? (1998) Problem with empty form-variables in [search] (1998) WebDNA Monitor (2005) Workaround for Emailer doubled bcc messages (1998) Thanks for tips, more quest (1997) b12 cannot limit records returned and more. (1997) [WebDNA] db admin tool (2008) Undeclared variables (2004) Forumulas.db & Variables (2002) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) unable to launch acgi in WebCat (1997)