Hi all:
I'm new to the forums and new to UltraEdit. I'm looking for a way to delete lines that contain a string. I've seen plenty of discussion on this, and I've created a script to do this based on the tutorial here: http://goo.gl/JpUK .
Problem is, it's incredibly slow. My goal is to be able to cut out repetitive lines from log files to get down to the important stuff, and in a large log, it takes way too long to run the looping tutorial script to remove all lines.
In vim, I just use :g/<pattern>/d and this is far, far faster than running the UltraEdit script. It doesn't seem like such a simple thing should take quite so long.
Is there a more efficient script out there somewhere that I could take a look at? Or am I overlooking something incredibly simple?
Thanks in advance,
Brandon
I'm new to the forums and new to UltraEdit. I'm looking for a way to delete lines that contain a string. I've seen plenty of discussion on this, and I've created a script to do this based on the tutorial here: http://goo.gl/JpUK .
Problem is, it's incredibly slow. My goal is to be able to cut out repetitive lines from log files to get down to the important stuff, and in a large log, it takes way too long to run the looping tutorial script to remove all lines.
In vim, I just use :g/<pattern>/d and this is far, far faster than running the UltraEdit script. It doesn't seem like such a simple thing should take quite so long.
Is there a more efficient script out there somewhere that I could take a look at? Or am I overlooking something incredibly simple?
Thanks in advance,
Brandon