I have a couple of big files that I need to count how many lines start with a specified text.
I only need the count, not the output if that is possible. One of the files is 4Gb.
Thank you
Othni J. Morales
Counting lines
Moderators: DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2229
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Easy. Use a Special Menu\Retain lines\Retain matching lines (grep) filter.
Set the pattern to what you want to count e.g.
^starts_with
Click the option 'Output count of matches'
You'll need to purchase TextPipe to process a file that large.
Set the pattern to what you want to count e.g.
^starts_with
Click the option 'Output count of matches'
You'll need to purchase TextPipe to process a file that large.
Regards,
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads