Skip to main content

New answers tagged

0 votes

Looking to improve searches across large ( 7-10 GB files )

If your data is as simple and consistent as the sample in your question, you can get away with a short awk command to pull out your intended block (say,for pattern2): awk '/^dn/{f=(/pattern2/)} f' ...
userene's user avatar
  • 1,736
0 votes

Looking to improve searches across large ( 7-10 GB files )

Your file is so small it fits in memory. In that case I will suggest you write a small tool that does your search and parallelize it: https://www.gnu.org/software/parallel/parallel_examples.html#...
Ole Tange's user avatar
  • 36k

Top 50 recent answers are included