Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tail -f #75

Open
seletz opened this Issue · 7 comments

5 participants

@seletz

Hi,

I love GOW -- it makes the windows command line almost bearable.

What I really miss, though, is the -f feature of tail:

     -f      The -f option causes tail to not stop when end of file is reached, but rather to 
             wait for additional data to be appended to the input.  The -f option is ignored if
             the standard input is a pipe, but not if it is a FIFO.

This would save me from needing to use baretail .

@bmatzelle
Owner

tail -f works. I've been using it for years.

@seletz

Hmm:

C:> gow -V 0.7.0
C:> touch foo
C:> tail -f foo
C:> tail: foo: bad file descriptor
C:> tail: no files remaining

BTW, I also use tail -f since ages on various U*IX boxen, Linux and OS X ;)

@bmatzelle
Owner

That shouldn't be happening. I'll look into it.

@djsweeney

The trick is to use tail -F foo (use a capital 'F'). You may still get the "bad file descriptor" error at first, but it will work as expected after that.

@Toons33

I'm also getting that error on a regular basis -- I found out the 'tail' command from UnxUtils doesn't have that problem.
@bmatzelle I think Gow is awesome by the way, hopefully looking at UnxUtils 'tail' source can help troubleshooting

@seletz
@albfan

This seems to be related #89

Seems there are problems with version 5.3.0 of tail

Read this http://sourceforge.net/p/gnuwin32/bugs/242/

I had ended replacing tail with version 2.1 and everything works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.