Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B075A28.86490FF9@lakes.com> Date: Sun, 20 May 2001 00:46:16 -0500 From: Perry Dykes X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Nasty bug? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Have a script working on, and it nets down to this below. When ran, tail starts dumping megabytes of data into the "exec.log" file until I kill tail. Any ideas what is going on here? Seems something is wrong with tail, as if I do not use (thus not in the background) by commenting out script runs and just dumps expected content in exec.log, the skipped loops for number of loops *5 seconds. #!/usr/bin/bash set -x exec >exec.log 2>&1 echo "this is in exec.log" tail -f exec.log & let x=0 for junkit in a b c d e d d d d d e e d d d e e d de e e d d e e d d e e d d d e e d do echo Sleeping $x let x=x+5 sleep 5 done # ok, you have now tracked output of exec script content, script over, kill the tee on console kill -9 %1 Am I doing something pretty silly, or is this a tail/cygin/job control bug? Note %1 will keep advancing, so you will have to run this after a bash.exe. Regards, Perry -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple