NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56422: zgrep -l sometimes hangs



The following reply was made to PR bin/56422; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/56422: zgrep -l sometimes hangs
Date: Thu, 30 Sep 2021 14:23:40 +0000 (UTC)

 On Wed, 29 Sep 2021, Andreas Gustafsson wrote:
 
 > When I run "zgrep -l *.gz" on a large collection of compressed log
 > files, it sometimes hangs.
 >
 
 Can be reproduced even with cat(1):
 
 $ for n in $(seq 90000 100000)
 do      lptest 10 $n | cat | cat | cat | head -n1
          printf '%d\r' $n >&2
 done > /dev/null
 90166
 ^C
 $
 
 -RVP
 


Home | Main Index | Thread Index | Old Index