If you think the file is being written to as you work with it, you can always use stat to get the modify time of a file before and after some point in time; if it's different, you know the file's been written to. But if the other program has the file opened, but is idling and not writing anything, you won't be able to detect this.
In reply to Re: File Test
by Masem
in thread File Test
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |