On 09.03.23 08:46, Bryan Gardiner wrote:
Hi, thanks! --force and --stdout don't seem to help in this case.
Sorry, I was wrong. The problem is not the actual use of gunzip but the
fact that you are trying to decompress a file without reading it from
the beginning. Usually this is not possible.
zcat build.log.gz | tail -n 30
would show you the last 30 lines but no new content because zcat or
gunzip is not waiting for new input. You could try gztool
https://github.com/circulosmeos/gztool/
"gztool -T" should work like "tail -f".
Andreas