image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old November 2nd, 2009, 04:39 PM
Registered User
 
Join Date: Nov 2006
Posts: 155
Thanks: 1
Thanked 0 Times in 0 Posts
Perishingflames is on a distinguished road
Looking for a powerful string search app

Hi,

I'm looking for an application with the ability to search matching strings (as designated as anything between a set "prefix" and "suffix") and display them (or what would even be BETTER is if it could write them to a text file).

I've looked into text wrangler and it doesn't fit my needs because it can only do it on a file-by-file basis: I am looking for an app that you can point it to a directory and it does this process for all text files in this directory.

Additionally, if it could do two strings as a time (and group them according to the text file, so I could differentiate), that would be even better.

Does anyone know of an app that can do this? If not, is it possible this process be coded (javascript, php, etc)?

Thanks,
Aaron
Reply With Quote
  #2  
Old November 2nd, 2009, 04:56 PM
djackmac's Avatar
Tech
 
Join Date: May 2009
Location: Ypsilanti, MI
Posts: 544
Thanks: 4
Thanked 114 Times in 112 Posts
djackmac has a spectacular aura aboutdjackmac has a spectacular aura about
Good time to learn Unix. There are many powerful search commands built into Unix with endless parameters that could be set. Two commands that come to mind are sed and grep. Open terminal and man sed and grep to get an idea of what can be done.
__________________
Don't forget to hit the Thanks button if you found this information useful.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.