Timeline for Fastest and most efficient way to get number of records (lines) in a gzip-compressed file
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 8, 2017 at 13:06 | history | edited | Yaron | CC BY-SA 3.0 |
deleted 859 characters in body
|
| May 8, 2017 at 13:05 | comment | added | Yaron | @StéphaneChazelas - thanks for the comment, update my answer to reflect it. | |
| May 8, 2017 at 13:00 | comment | added | Stéphane Chazelas |
zgrep is generally a script that invokes zcat (same as gzip -dcq) to uncompress the data and feed it to grep, so is not going to help.
|
|
| May 8, 2017 at 8:40 | history | edited | Yaron | CC BY-SA 3.0 |
deleted 576 characters in body
|
| May 8, 2017 at 8:23 | comment | added | Rahul | Hi Yaron thanks for the answer even the zgrep is taking as much time as zcat i need find some other approach i think | |
| May 8, 2017 at 8:03 | history | edited | Yaron | CC BY-SA 3.0 |
added 1349 characters in body
|
| May 8, 2017 at 7:47 | history | answered | Yaron | CC BY-SA 3.0 |