[PD] Fastest way to find lines in text file

cyrille henry ch at chnry.net
Wed Mar 22 09:47:14 CET 2017

few years ago, i used "until / textfile / select" for search and replace in huge text because gedit was to slow.
i'll do it again if I had to deal with this kind of texts.

for your application, you just need to add a counter.

Le 21/03/2017 à 19:14, Jack a écrit :
> 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

More information about the Pd-list mailing list