I am looking for a macintosh program that can find and replace text in a very large text file (7MB). I've tried TextMate, TextEdit and nano (command line) but both take a very long time (I've waited over an hour and still didn't finish). Am I being impatient, or is there a more efficient solution?
Tell me more
×
Ask Different is a question and answer site for
power users of Apple hardware and software. It's 100% free, no registration required.
|
My question was solved by AllInOne: Download BBEdit. The time to search and replace went down from 1 hour+ to about five seconds. |
|||
|
|
|
I usually use Text Wrangler (the free incarnation of the full featured BBEdit) for working on text files that are too large for other tools. |
|||||||
|
sedwould be a good alternative for big files but if you need help here please add some examples for strings to be searched and replaced. – patrix♦ Dec 26 '12 at 18:58sedtoo, and then I saw the 7MB comment. 7MB is not a large file. I have 1GB+ log files floating around, and even those really aren't that large. My first thought is a poorly optimized regex. – Fake Name Dec 26 '12 at 20:07