Your Ad Here Your Ad Here
Results 1 to 2 of 2

Thread: "Search and remove" software

  1. #1
    true_neo's Avatar The Dark Lord Revan
    Join Date
    Mar 2003
    I need a piece of software that can match 2 text files up against eachother, then remove all lines present in one of them from the other.
    Lemme be more specific:
    I have a fairly huge HOSTS file, and Im using a batch script to weed out the servers that are non-functioning. It dumps the non-functioning into a txt file. So I sit there with 2 files, and manual searching is just balls. And yes I do mean search and replace in notepad, it would take forever.
    I used to have a batch script that would do this, but it didn't work prop.
    Compare programs is just one small step up from the search and replace, still too much hassle.

    So I hope you understand what Im after

    Sage goes in the signature field.

  2. Software & Hardware   -   #2
    Vargas's Avatar gone fishin'
    Join Date
    Jul 2003
    the poopdeck
    i think piping your bad hosts file through find or edlin would work,
    been a while, let me think about it more


Posting Permissions

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