pipes and buffering
Posted on 1997-05-20
Is there a way to turn off buffering from a process that is read in as a pipe. (Other than useing $| =1 or FILE->autoflush(1) ) ?
I use a tail to monitor some files that are being appended to, and the data seems to be buffered....I am not getting the most recent data, and I need it.
So, it seems that the data gets buffered between the process that is executed, and the pipe that I am reading from. (Maybe the shell?? (BASH, I am using LINUX) )
Any insight would be appreciated.