in reply to watch-script.pl | less +F buffering problem?
The problem is that less is buffering its input, so it expects to see either a certain number of bytes, or the end-of-file, before it will do any work.
A better solution (though more work for you) would be to take the reason you want to use less (whether it be paginating the output, or searching for patterns), and incorporate that directly into your script instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: watch-script.pl | less +F buffering problem?
by axelrose (Scribe) on Aug 18, 2006 at 14:13 UTC | |
by liverpole (Monsignor) on Aug 18, 2006 at 14:30 UTC |