Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] systemd - zgrep -m1 gives me "gzip: stdout: Broken pipe" ?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 29 Nov 2017 14:38:35 +0100
  • Message-id: <ovmd8r$2fp$>
Carlos E. R. wrote:

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
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?

I am fairly positive, yes. Even if it doesn't, what I want is
still "gzip -dc | grep -m1" and that produces the message.

Per Jessen, Zürich (4.1°C) - virtual servers, made in Switzerland.

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

< Previous Next >