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]- BrianOn 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:
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]- BrianOn 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:
PCS Emailer's role ? (1997)
snicker, snicker (1997)
Seeking WebCat Bulletin Board (1999)
Not really WebCat (1997)
WebDNA Solutions ... (1997)
View order not right (1997)
WebCatalog Hosting (1996)
Using Cookie for client specific info? (1997)
OT: 800x600 (2003)
redirect with frames (1997)
test (2002)
[WebDNA] Amazon Web Services API (2010)
Preserving form data (1999)
Counting records (2000)
using cookies to prevent access (2000)
syntax question, not in online refernce (1997)
This list needs a digest: rant, rave... (1997)
[url] link (1998)
OT: About.com/Sprinks click-through fraud (2001)
RE: incrementing a counter remotely? (1999)