[PD] Fastest way to find lines in text file

Liam Goodacre liamg_uw at hotmail.com
Wed Mar 22 08:27:45 CET 2017


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


________________________________
From: Pd-list <pd-list-bounces at lists.iem.at> on behalf of Jack <jack at rybn.org>
Sent: 21 March 2017 18:14
To: pd-list at lists.iem.at
Subject: [PD] Fastest way to find lines in text file

Hello,

I need to find every lines of a textfile containing a word.
The textfile has 2.539.592 lines.
Now, i am using [msgfile] from zexy because i can find a line, skip a
line and find again ... until the end of the textfile.
But, i am wondering if there is an other object (in an other library)
faster, specialized in this work ?
Thanx.
++

Jack


_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20170322/8e73fcc0/attachment-0001.html>


More information about the Pd-list mailing list