Re: OT Grep Help
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 69669
interpreted = N
texte = Try using the grep within a listfiles context? This will recursively traverse all the files in a given directory keyed on [IsFile].MarcDonovan Brooke wrote:> Hello,> > ..was wondering if anyone is out there that knows a lil grep.> > I'm trying to recursively search a directory/s for a pattern.. then> list the filename, linenumber, then the line.> > I have the latter part working.. in other words, I can list> the filename, linenumber then the string, but I can't get> the recursive directories working.> > This works for one file:> > grep -Hin -e [pattern] [filename]> > How do you tweek this to do many files within a directory?> > Donovan> > > > > -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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:
Try using the grep within a listfiles context? This will recursively traverse all the files in a given directory keyed on [IsFile].MarcDonovan Brooke wrote:> Hello,> > ..was wondering if anyone is out there that knows a lil grep.> > I'm trying to recursively search a directory/s for a pattern.. then> list the filename, linenumber, then the line.> > I have the latter part working.. in other words, I can list> the filename, linenumber then the string, but I can't get> the recursive directories working.> > This works for one file:> > grep -Hin -e [pattern] [filename]> > How do you tweek this to do many files within a directory?> > Donovan> > > > > -- -------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu--------------------------------------------------------------------------------------------------------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/
Marc Thompson
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:
Possible Bug in 2.0b15.acgi (1997)
WCS Newbie question (1997)
[Sum] function? (1997)
Problem with shownext (2003)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
WebTen and WebCat (1997)
WebDNA Solutions ... sorry! (1997)
Running 2 two WebCatalog.acgi's (1996)
Associative lookup style? (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
problems with 2 tags (1997)
[WebDNA] "The requested URL" error not allowing access to site... (2014)
Browser Info.txt (1997)
Nutscrape Doesn't Render Right (2002)
WCS Newbie question (1997)
File Upload (1997)
Press Release hit the NewsWire!!! (1997)
listfiles, moving files (1998)
RE: Languages (1997)
Not really WebCat (1997)