delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/26/02:14:34

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
Message-ID: <067901c26523$ee1e9e80$010a10ac@guinness>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
Cc: "Textutils" <bug-textutils AT gnu DOT org>
References: <55BAE1F3AB0DD41198B600508BA241B0043918FA AT ehost002 DOT intermedia DOT net>
Subject: Re: tail -f will not work with IIS generated log files
Date: Thu, 26 Sep 2002 01:14:11 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

> Bit of bummer because getting "tail" to monitor IIS was the VERY reason I
> downloaded and installed www.CyGWin.com .  I'm wondering:
>
>  1) When might someone fix this?

It will get fixed as soon as you submit a patch for it!  Seriously.  All of
the cygwin people work on a volunteer basis.  We all have lives/jobs to
contend with, and contribute to cygwin when we can.  If you have a feature
you must have, implement it.  It's that simple.

>(extend "tail" to deal with the IIS log
> tricks, and thus making a more powerful "tail")  tail doesn't display so
is
> surely stripping out pre-allocated buffer space at the end (perhaps
because,
> in MS-DOS, it's preceded by a ^Z), but not going back to see if that space
> it skipped has changed, or just not noticing any changes because , as
Robert
> suggested, it's probably just looking at the size of the file. What it
> probably should be looking at first is the mod-date, and when that
changes,
> continue outputting it's output at the point where it found no more valid
> text, NOT necessarily the end of the file.  This minor redesign could then
> be folded back into the Gnu sources, for a more powerful tail for
everyone.

I agree, it sounds simple. I eagerly await your changes.

cheers,
-Matt Smith
cygwin textutils maintainer



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019