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:
Mass Mail (2000)
[delete] problem (1997)
email database file (2005)
Troubles with Selection Drop Down List Search (1998)
What are SMSI's upgrade policies, and how long will theyappl (2003)
More Shopping Cart Problems (2000)
JavaScript (1998)
Server Problem (2004)
InternetWeek E-Commerce article (1998)
Encrypt Problems (2000)
Line Breaks (2003)
$Quit, $CloseDatabase corrections (1997)
Limiting user access to .tmpl files (1997)
WebCat2.0 acgi vs plugin (1997)
Directory Overload (1998)
date (1998)
Virtual hosting and webcatNT (1997)
Setting up shop (1997)
WebCat 3.04-3.07 plug-in dying on server.... (2000)
emailer (1997)