From: behrends@... (Reimer Behrends) Date: 2002-03-02T13:07:36+09:00 Subject: Re: Like tail -f Jean Lacoste (jean@chnou.factorial.l) wrote: [tail -f lookalike] > But it loops without stopping on the select line. That's because select() is pretty useless on regular files; it indicates only if a call to read() would block, not if data is available. For regular files, it will always return indicating success, even at EOF. That's why "tail -f" works around it by sleeping for a second, then checking the file again. Reimer Behrends