Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] systemd - zgrep -m1 gives me "gzip: stdout: Broken pipe" ?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 29 Nov 2017 14:19:17 +0100 (CET)
  • Message-id: <alpine.LSU.2.21.1711291417280.31979@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Wednesday, 2017-11-29 at 10:51 +0100, Per Jessen wrote:

Okay, I need another pair of eyes -

in a bash script, I have "zgrep -m1 SOA file.gz". The script is being
run under systemd. The line with SOA is found, but I always get "gzip:
stdout: Broken pipe".

zgrep is obviously "gzip -dc | grep".

Here it is a 235 lines bash script. Are you sure it resolves to that?

You could edit the script and add a -x to find out what it really does in your case.

- -- Cheers,
Carlos E. R.
(from openSUSE 42.2 x86_64 "Malachite" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAloes9UACgkQtTMYHG2NR9UjJgCfQLC/rAz4EGWcFOqkR1Z6gLKJ
gW0Anif2jEUhibvoXb6PdeaDbOiZwTpn
=qK/g
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References