From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 17:36:00 2010 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BCF91065673; Tue, 3 Aug 2010 17:36:00 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa04a.plala.or.jp (msa04.plala.or.jp [58.93.240.4]) by mx1.freebsd.org (Postfix) with ESMTP id 8ABA68FC15; Tue, 3 Aug 2010 17:35:58 +0000 (UTC) Received: from i220-220-27-2.s02.a026.ap.plala.or.jp ([220.220.27.2]) by msa02b.plala.or.jp with ESMTP id <20100803172538.MZUF2469.msa02b.plala.or.jp@i220-220-27-2.s02.a026.ap.plala.or.jp>; Wed, 4 Aug 2010 02:25:38 +0900 Date: Wed, 04 Aug 2010 02:25:38 +0900 Message-ID: <86eiefhalp.wl%poyopoyo@puripuri.plala.or.jp> From: poyopoyo@puripuri.plala.or.jp To: gabor@FreeBSD.org, current@FreeBSD.org User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.2 (amd64-portbld-freebsd9.0) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-VirusScan: Outbound; msa02b; Wed, 4 Aug 2010 02:25:38 +0900 X-Mailman-Approved-At: Tue, 03 Aug 2010 17:54:38 +0000 Cc: Subject: bsdgrep does not work with tail -f | grep combination X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 17:36:00 -0000 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