Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: watch-script.pl | less +F buffering problem?

by axelrose (Scribe)
on Aug 18, 2006 at 13:54 UTC ( #568153=note: print w/replies, xml ) Need Help??


in reply to Re: watch-script.pl | less +F buffering problem?
in thread watch-script.pl | less +F buffering problem?

That's presumably because you left out the command line parameter '-p .'. Then it checks per default for the string "pdf".

If I just run the script without piping it to less all is fine here as well.

It's just that somehow "script.pl -p . /tmp/my.log | less +F" remains empty and it's not general problem because this:

perl -e 'print "a line\n" x 10' | less +F

works.

Axel

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://568153]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2023-12-06 17:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (31 votes). Check out past polls.

    Notices?