Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Aug 2010 02:25:38 +0900
From:      poyopoyo@puripuri.plala.or.jp
To:        gabor@FreeBSD.org, current@FreeBSD.org
Subject:   bsdgrep does not work with tail -f | grep combination
Message-ID:  <86eiefhalp.wl%poyopoyo@puripuri.plala.or.jp>

next in thread | raw e-mail | index | archive | help
Hi,

It seems bsdgrep does not work when piped from tail -f.
I'm running r210728.

term0$ jot 10 > /tmp/1
term0$ tail -f /tmp/1 | grep 0
[no output]

otherterm$ jot 10 >> /tmp/1
[no output to term0]

=====

with GNU grep:

term0$ tail -f /tmp/1 | gnugrep 0
10
otherterm$ jot 10 >> /tmp/1
[on term0]
10
10

-- 
kuro



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86eiefhalp.wl%poyopoyo>