Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: Date: Thu, 12 May 2005 20:06:25 -0400 From: Lev Bishop Reply-To: Lev Bishop To: Peter Ekberg Subject: Re: tail -f and pipes with bash shell Cc: cygwin AT cygwin DOT com In-Reply-To: <90459864DAD67D43BDD3D517DEFC2F7D05AF26@axon.Axentia.local> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <90459864DAD67D43BDD3D517DEFC2F7D05AF26 AT axon DOT Axentia DOT local> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j4D06jOF029705 Try "grep --line-buffered" to get grep to flush output after every line. There is a performance penalty for doing this. I don't know why you don't see the buffering when grep's stdout isn't redirected. Perhaps grep (or the std library) removes/reduces buffering in the case the output is a terminal. Lev -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/