<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif" dir="ltr">
<p>You can also use [text search], although t's not so easy to find more than the first instance. If you don't mind taking a extra step, you could give each line a third term, which is the line number. Then you can use the "> 3" argument for [text search] to
 find matches s <br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Pd-list <pd-list-bounces@lists.iem.at> on behalf of Jack <jack@rybn.org><br>
<b>Sent:</b> 21 March 2017 18:14<br>
<b>To:</b> pd-list@lists.iem.at<br>
<b>Subject:</b> [PD] Fastest way to find lines in text file</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">Hello,<br>
<br>
I need to find every lines of a textfile containing a word.<br>
The textfile has 2.539.592 lines.<br>
Now, i am using [msgfile] from zexy because i can find a line, skip a<br>
line and find again ... until the end of the textfile.<br>
But, i am wondering if there is an other object (in an other library)<br>
faster, specialized in this work ?<br>
Thanx.<br>
++<br>
<br>
Jack<br>
<br>
<br>
_______________________________________________<br>
Pd-list@lists.iem.at mailing list<br>
UNSUBSCRIBE and account-management -> <a id="LPlnk162649" href="https://lists.puredata.info/listinfo/pd-list" previewremoved="true">
https://lists.puredata.info/listinfo/pd-list</a><br>
</div>
</span></font></div>
</div>
</body>
</html>