Re: Line Endings
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53269
interpreted = N
texte = Did a quick search and found the appended. It looks like it wouldbe bit tricky. This doesn't contain any code to change anything.=================================================================================If you're wanting to grep through multiple files in multiple directories some levels deep, use a combination of find, grep, and xargs.For example, my boss wanted to look for a string FOO in all of our sorce code (.c, .cpp, and .h files). This is accomplished like this (assuming we're looking in the current dir and below):keith@develop[pts/7]:~$ find . -type f \( -name \*.c -o \ > -name \*.cpp -o -name \*.h \) \ > -print0 | xargs --null grep FOOCheck the man for find(1), grep(1), and xargs(1)Ciao, kw/* Keith Warno** Developer & Sys Admin** http://www.HaggleWare.com/*/----- Original Message ----- From: "Samy Elashmawy"
To: "Fran?ois Pinard" Cc: Sent: 16 May 2000, Tuesday 05:02 Subject: Re: [SLE] grep helpAt 07:43 PM 5/15/2000 -0400, Fran?ois Pinard wrote: >Samy Elashmawy writes: > >> I tried grep -r "arch4" /it only searches the root and nothing below that. I tried grep "arch4" /*/*/* /*/*/* /*/*/*/* ant it stopped with an error arguments two long or something.I was hoping to find the deffinition files that have the size and pixel lenth of the printer page layoust so I could change them to a custom setting.Murphys law ya know >It works here, running version 2.3. But you need a recent version of >`grep', I do not remember when the `-r' was added to it. Check with >`grep --help' to see if `-r' is supported. > >-- >Fran?ois Pinard http://www.iro.umontreal.ca/~pinard >=================================================================================DonovanDonovan Brooke wrote:[snip]-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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:
Did a quick search and found the appended. It looks like it wouldbe bit tricky. This doesn't contain any code to change anything.=================================================================================If you're wanting to grep through multiple files in multiple directories some levels deep, use a combination of find, grep, and xargs.For example, my boss wanted to look for a string FOO in all of our sorce code (.c, .cpp, and .h files). This is accomplished like this (assuming we're looking in the current dir and below):keith@develop[pts/7]:~$ find . -type f \( -name \*.c -o \ > -name \*.cpp -o -name \*.h \) \ > -print0 | xargs --null grep FOOCheck the man for find(1), grep(1), and xargs(1)Ciao, kw/* Keith Warno** Developer & Sys Admin** http://www.HaggleWare.com/*/----- Original Message ----- From: "Samy Elashmawy" To: "Fran?ois Pinard" Cc: Sent: 16 May 2000, Tuesday 05:02 Subject: Re: [SLE] grep helpAt 07:43 PM 5/15/2000 -0400, Fran?ois Pinard wrote: >Samy Elashmawy writes: > >> I tried grep -r "arch4" /it only searches the root and nothing below that. I tried grep "arch4" /*/*/* /*/*/* /*/*/*/* ant it stopped with an error arguments two long or something.I was hoping to find the deffinition files that have the size and pixel lenth of the printer page layoust so I could change them to a custom setting.Murphys law ya know >It works here, running version 2.3. But you need a recent version of >`grep', I do not remember when the `-r' was added to it. Check with >`grep --help' to see if `-r' is supported. > >-- >Fran?ois Pinard http://www.iro.umontreal.ca/~pinard >=================================================================================DonovanDonovan Brooke wrote:[snip]-- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design Developer / Consultant <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design P.O. Box 260153 Madison, WI 53726-0153 PH:> 1.608.592.3567 email:> dbrooke@euca.us Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o-------------------------------------------------------------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/
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:
[WebDNA] Different results for [THISURL] (2018)
founditem align (1998)
[WebDNA] What version of linux (2009)
all records returned. (1997)
[LookUp] (1999)
How can I Add several Items into the cart at once? (1997)
form data submission gets truncated (1997)
RE: 2nd WebCatalog2 Feature Request (1996)
[OT] Currency feed (2005)
template not found error (1998)
ConvertChars (1998)
Search design (1997)
Frames and WebCat (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
Database location (2002)
listfiles, moving files (1998)
RAM variables (1997)
Searching/sorting dates (1997)
Cookie set browser session. (1998)
SIMS setup (1998)