Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: tee -f?

by nuance (Hermit)
on Jun 20, 2000 at 19:11 UTC ( #19029=note: print w/replies, xml ) Need Help??

in reply to tee -f?

how about:

@log = qx{tail -f $mylogfile};

Updated: leave out the -f (see reply below). I'm sorry I can't do better than that I don't have accces to the man command on my linux box (I'm in work).


Replies are listed 'Best First'.
RE: Re: tee -f?
by Jonathan (Curate) on Jun 20, 2000 at 19:26 UTC
    Surely that line would not finish until the tail had reached EOF and tail -f doesn't - it just waits for more input
RE: Re: tee -f?
by Jonathan (Curate) on Jun 20, 2000 at 19:46 UTC
    Sorry Nuance I don't think that would work either, tail on its own will only return n number of records, its the stream itself I want to attach to.

    Thanks anyway

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-05-28 20:38 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (101 votes). Check out past polls.