in reply to Re: watch-script.pl | less +F buffering problem?
in thread watch-script.pl | less +F buffering problem?
Hi liverpole,
thanks for your reply.
I thought about the input buffers of less as well but was surprised to see that perl -e 'print "a line\n" x 10' | less +F works.
Another workaround is to send the output of my watch script to another file and oberserving this with "less +F".
My intention is to browse back the output over several pages and do occasional searches. I couldn't normally implement this myself.
Axel.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: watch-script.pl | less +F buffering problem?
by liverpole (Monsignor) on Aug 18, 2006 at 14:30 UTC |
In Section
Seekers of Perl Wisdom