Don't ask to ask, just ask | |
PerlMonks |
Re^3: How to manage a big fileby Lennotoecom (Pilgrim) |
on Apr 23, 2014 at 09:51 UTC ( [id://1083318]=note: print w/replies, xml ) | Need Help?? |
while thinking about your last addition, consider this algorithm: find /Endpoint/ find /-/ assign every line pattern a unique code from 1 towards infinity form the unique string number, count it as one occurence find /data arrival time/ which will result in something like this: which means I copied your example file eight times in my '1' file update regarding your patterns: they are quite confusing why did you pick up the middle line to form your pattern? Please consider this snippet above, maybe it will suit your needs as well? update 2 have you tried this soultion? has it worked? please tell.
In Section
Seekers of Perl Wisdom
|
|