tail -f <file name> locks <file name>
Mumit Khan
khan@xraylith.wisc.edu
Tue Apr 27 14:01:00 GMT 1999
On Tue, 27 Apr 1999 thomas@on.com wrote:
> This has not been the original intention of 'tail -f': This command should
> enable the user
> to watch the contents of a file grow. If this file is locked by the tail
> command, the writing process
> will run on error.
>
I'm not sure why you're seeing a problem, but I do the following all the
time:
$ make > make.log 2>&1 &
$ tail -f make.log
And in some cases, the ``tail -f make.log'' is already running in a
different window when I issue the ``make'' command.
Is the writer explicitly locking the output file? Could you show an
example of the failure?
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list