bsdgrep does not work with tail -f | grep combination

poyopoyo at puripuri.plala.or.jp poyopoyo at puripuri.plala.or.jp
Tue Aug 3 17:36:00 UTC 2010


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


More information about the freebsd-current mailing list