Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20040518180215.03274a08@pop.theworld.com>
X-Sender: 
Date: Tue, 18 May 2004 18:06:33 -0400
To: C Wells <s2audi AT yahoo DOT com>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: tail and win file handling
In-Reply-To: <20040518170848.98493.qmail@web60409.mail.yahoo.com>
References: <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040518123138 DOT 032783b0 AT 127 DOT 0 DOT 0 DOT 1> <20040518170848 DOT 98493 DOT qmail AT web60409 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 01:08 PM 5/18/2004, you wrote:
>I can't change the application unfortunately, if I
>could I'd have it only log interesting stuff rather
>than the garbage it does.
>
>Is it worth trying maybe to link the file and tail the
>link ? or mess with a tee command ??


I guess I'm unclear on what you're doing and what's creating/removing
the file you're interested in and how it's being done.  The above ideas 
may work in your situation.  I don't know.  For the example you posted,
the file deleted by "rm" isn't deleted really until it's closed, which
won't happen until 'tail' ends.  This is the way Windows works.  There's
not much to be done about it (at least not in Cygwin).  Believe me, we've
tried.


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
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/