Hi On 06/06/2013 06:25 PM, Jim Gibson wrote: > The program will keep running, but at some point, if the program is writing > bytes to the standard output stream, the buffer for that stream will fill up. > At that point, the program will block doing a write until the buffer has been > depleted and output can resume. Otherwise, some output would be lost. > > I was curious about this so i tried it out. It turns out that when I do
./script.pl | cat cat seems to add a big output buffer between your script and your console. So when i hit Ctrl-s the script will continue to run. The disadvantage is that I do not see the most recent output because cat does not immediately write the buffer to the terminal. -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
