![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perform action file name written to the pipe | fed.linuxgossip | Shell Programming and Scripting | 2 | 07-23-2008 11:38 AM |
| How to Redirect the error messages from Syslog file to our own Application Log File | balasubramaniam | HP-UX | 3 | 04-17-2008 02:44 PM |
| How to prevent an application from closing a file | jasahl | AIX | 4 | 01-06-2008 09:39 PM |
| Checking a file is not being written to | kanejm | Shell Programming and Scripting | 14 | 01-20-2006 08:29 AM |
| File being used/written | sanjay92 | UNIX for Dummies Questions & Answers | 4 | 10-13-2001 02:31 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Operating on a file being written by another application
Hi,
I have a directory that is used to store files generated by another application. Each file is huge and can take some time to produce. I am writing a shell script to check the names and dates of the files and do some functions on the ones that are not being written out. My question is, if I use a command like cat for example on a file that is being written by another application (while it is being written) will I get an error or will the cat just retunr a zero return code? For example, if the application was generating file called f1, and I do this: cat f1>f2 what would be the return code? I am using Sun/Solaris and I find this kind of hard to test. Thanks in advance. ![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|