public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Larry Hall <cygwin-lh@cygwin.com>
To: C Wells <s2audi@yahoo.com>, Cygwin List <cygwin@cygwin.com>
Subject: Re: tail and win file handling
Date: Tue, 18 May 2004 22:13:00 -0000	[thread overview]
Message-ID: <6.1.0.6.0.20040518180215.03274a08@pop.theworld.com> (raw)
In-Reply-To: <20040518170848.98493.qmail@web60409.mail.yahoo.com>

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/

  reply	other threads:[~2004-05-18 22:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-17 23:33 binutils 20040312-1 : problem linking 16bit x86 code with ld Brice VIDDEAU
2004-05-18  9:50 ` Corinna Vinschen
2004-05-18 10:04   ` Dave Korn
2004-05-18 13:16   ` Brice VIDDEAU
2004-05-18 13:31     ` Corinna Vinschen
2004-05-18 13:36       ` tail and win file handling C Wells
2004-05-18 16:58         ` Larry Hall
2004-05-18 17:23           ` C Wells
2004-05-18 22:13             ` Larry Hall [this message]
2004-05-19 17:42 Paul Haas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6.1.0.6.0.20040518180215.03274a08@pop.theworld.com \
    --to=cygwin-lh@cygwin.com \
    --cc=cygwin@cygwin.com \
    --cc=s2audi@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).