Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2021 03:53:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 259197] xzgrep should present a message when fed a non-recognised file format
Message-ID:  <bug-259197-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259197

            Bug ID: 259197
           Summary: xzgrep should present a message when fed a
                    non-recognised file format
           Product: Base System
           Version: CURRENT
          Hardware: Any
               URL: https://cgit.freebsd.org/src/tree/contrib/xz
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com

% xzgrep harfbuzz /var/log/messages.0.bz2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
% zcat /var/log/messages.0.bz2 | grep -e harfbuzz -e electron
Oct 13 07:41:46 mowa219-gjp4-8570p-freebsd pkg[1984]: electron12 upgraded:
12.0.9_1 -> 12.0.9_2=20
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz upgraded: 2.=
9.1
-> 3.0.0=20
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz-icu upgraded:
2.9.1 -> 3.0.0=20
% zgrep harfbuzz /var/log/messages.0.bz2=20=20=20=20=20=20=20=20=20
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz upgraded: 2.=
9.1
-> 3.0.0=20
Oct 13 07:44:15 mowa219-gjp4-8570p-freebsd pkg[3312]: harfbuzz-icu upgraded:
2.9.1 -> 3.0.0=20
% xzcat /var/log/messages.0.bz2
xzcat: /var/log/messages.0.bz2: File format not recognized
%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259197-227>