How can I tail a zipped file without reading its entire contents?

前端 未结 7 770
难免孤独
难免孤独 2020-12-15 15:21

I want to emulate the functionality of gzcat | tail -n.

This would be helpful for times when there are huge files (of a few GB\'s or so). Can I tail the last few li

相关标签:
7条回答
  • 2020-12-15 16:14

    zindex creates and queries an index on a compressed, line-based text file in a time- and space-efficient way.

    https://github.com/mattgodbolt/zindex

    0 讨论(0)
提交回复
热议问题