You shouldn't make assumptions. I never said to go ahead and open the file even if it doesn't exist. If it doesn't exist, don't try to open it unless you are wanting to create it... I may not have been completely clear but there is some common sense involved here... "Checking -e after a failed open is prone to race conditions" says exactly what I'm saying. You also made the assumption that this file was in the "outside world" when that wasn't the case as per robertobouza's latest post. If the file is locally on his machine then just hammering it to see if it works is not the answer...
In reply to Re^3: Error reading line from file: Operation timed out
by RoyCrowder
in thread Error reading line from file: Operation timed out
by robertobouza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |