Binand Raj S. wrote:

>On Fri, Aug 16, 2002 at 10:04:15AM -0400, Chandrakumar Muthaiah wrote:
>  
>
>>>>I have a program that writes to a log file. Now, I would like a Perl
>>>>script to append or modify the same log file once in a while. When i do
>>>>so, the original program stops updating the log file. I guess it has
>>>>lost the handle.
>>>>        
>>>>
>>Yes, no lame answers. create a special pipe node, have your original 
>>program write to the pipe and your perl program listen to the pipe on 
>>the other end.
>>Let them work togather, if you know how to get arround.
>>    
>>
>
>Pipes are unidirectional. If the perl script is listening on the pipe, then
>it cannot write to it (as the OP says his requirement is).
>
>Binand
>
>  
>
Which I meant is let the program maintain the log file in its own way, 
which is safe and will eliminate the corruption. And while using pipes 
where does the file comes into picture, think!!!

Why people always tend to to find mistake,  if it is meaning full use it 
or else enhance it.





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to