Results 1 to 4 of 4

Thread: Search for a string of text in multiple .txt files?

  1. #1

    Default Search for a string of text in multiple .txt files?

    Not sure this is exactly a Lich question, but does anyone know how I could go about searching a bunch of different logs (.txt files) for a certain string of text and get a count of how many times that line appears?

    Thanks

  2. Default

    notepad++

    It's a free application and has a search in files function. It'll tell you how many times the string appears, in what files, and where in those files.

    https://notepad-plus-plus.org/download/v7.7.1.html




    Enter the text to search for, the folder to look in and let it go.
    Last edited by Stumplicker; 09-09-2019 at 11:26 AM.

  3. #3

    Default

    Much obliged

  4. #4

    Default

    Astrogrep for windows works pretty well too:
    http://astrogrep.sourceforge.net/

    Point it to a folder, give it some parameters and off it goes. It shows a little preview of the string in a window as well. Counts in each file in the top details.

Similar Threads

  1. error in Gtk.queue: comparison of String with String failed
    By Daerkstar in forum The Lich Project
    Replies: 4
    Last Post: 09-11-2011, 07:27 AM
  2. Searching in multiple files (logs)
    By thefarmer in forum Off-Topic
    Replies: 6
    Last Post: 08-26-2008, 08:18 PM
  3. m4a files
    By Asha in forum Off-Topic
    Replies: 5
    Last Post: 10-04-2005, 09:33 PM
  4. string rightOf(string source, string r)
    By Jonty in forum Bug Reporting
    Replies: 0
    Last Post: 09-10-2004, 03:12 PM
  5. string replace(string source, string s, string r)
    By Jonty in forum Bug Reporting
    Replies: 0
    Last Post: 09-09-2004, 10:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •