Re: Why no lf in grep?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59883
interpreted = N
texte = I've seen this as well, and have found that if you put the %0A inside square brackets (generally used for matching to a list of characters) it works: [grep search=[%0A]&replace=x] - Brian On Nov 4, 2004, at 5:21 AM, Kenneth Grome wrote: > Grep will not find linefeed characters, even when I identify them via > %0A as in this example: > > [grep search=%0A&replace=x] > > Any ideas why not, or how I can replace the linefeed characters in a > text file with another character? > -- > > Sincerely, > Kenneth Grome > www.kengrome.com > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- 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: Why no lf in grep? ( Brian Fries 2004)
  2. Re: Why no lf in grep? ( devaulw@onebox.com 2004)
  3. Why no lf in grep? ( Kenneth Grome 2004)
I've seen this as well, and have found that if you put the %0A inside square brackets (generally used for matching to a list of characters) it works: [grep search=[%0A]&replace=x] - Brian On Nov 4, 2004, at 5:21 AM, Kenneth Grome wrote: > Grep will not find linefeed characters, even when I identify them via > %0A as in this example: > > [grep search=%0A&replace=x] > > Any ideas why not, or how I can replace the linefeed characters in a > text file with another character? > -- > > Sincerely, > Kenneth Grome > www.kengrome.com > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com -- ------------------------------------------------------------- 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/ Brian Fries

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:

Thanks and Big News!!! (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) WC Database Format (1997) WebCat2b13 Command Reference Doc error (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) A note for NT4 users (1998) AuthenticateChecker (2000) WC2b12: Yes, Formulas.db is for real (1997) WC1.6 to WC2 date formatting (1997) RE: [WebDNA] AUTONUMBER in Form (2020) Error Lob.db records error message not name (1997) Request for Bid on Project (2000) Process SSI and WebCatalog.acgi (1998) Simple way to create unique SKU (1997) WebCatalog can't find database (1997) Possible Macv2.1b2 Merge Bug (1997) PCS Emailer's role ? (1997) Country & Ship-to address & other fields ? (1997) Linux WebDNA Server probs (2004) PIXO support (1997)