Re: [Zutils-bug] zgrep performance long line

2018-08-17 Thread Antonio Diaz Diaz
Walter Anema wrote: I think that your messages_nnl.gz can be processed faster with $ time zcat messages_nnl.gz | fold -s -w1 | grep -o connect | wc Folding makes it slightly slower. I managed to create another file without private data using the script i=0 j=0 while [ $i -lt 10 ]; do

Re: [Zutils-bug] zgrep performance long line

2018-08-17 Thread Antonio Diaz Diaz
Hi Walter, Walter Anema wrote: You made a nice package with z utilities. Thanks! I have a problem with the performance of a special file. It is a file with logging in json format, without a \n. I need to append an `echo` before `wc` shows up with a count. (zcat