Gentoo Archives: gentoo-user

From: Andreas Stiasny <gentoo@××××××××××××××××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Tailing compressed build logs
Date: Thu, 09 Mar 2023 14:31:44
Message-Id: fbeffd64-a3a0-6612-485d-e15a9e4f4bc9@lists.stiasny.priv.at
In Reply to: Re: [gentoo-user] Tailing compressed build logs by Bryan Gardiner
1 On 09.03.23 08:46, Bryan Gardiner wrote:
2
3 > Hi, thanks! --force and --stdout don't seem to help in this case.
4
5 Sorry, I was wrong. The problem is not the actual use of gunzip but the
6 fact that you are trying to decompress a file without reading it from
7 the beginning. Usually this is not possible.
8
9 zcat build.log.gz | tail -n 30
10
11 would show you the last 30 lines but no new content because zcat or
12 gunzip is not waiting for new input. You could try gztool
13
14 https://github.com/circulosmeos/gztool/
15
16 "gztool -T" should work like "tail -f".
17
18
19 Andreas

Replies

Subject Author
Re: [gentoo-user] Tailing compressed build logs Peter Humphrey <peter@××××××××××××.uk>