Re: tail and win file handling

2004-05-19 Thread Paul Haas
Larry Hall wrote: > 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. Here is a really ugly kludge to deal with a re

Re: tail and win file handling

2004-05-18 Thread Larry Hall
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

Re: tail and win file handling

2004-05-18 Thread C Wells
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 ?? --- Larry Hall <[EMAIL PROTECTED]> wrote: > re tail and win file handles. >

Re: tail and win file handling

2004-05-18 Thread Larry Hall
At 09:31 AM 5/18/2004, you wrote: >I am sorry if this has been covered before, but I was >wondering if there is work around (probably not ;-( > >In unix you can do the following >tail -f /somefile >in another session >rm -f /somefile >echo OK > /somefile > >of course the tail stops working, but the