Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Suffering with buffering - how to wake 'less'

by benizi (Hermit)
on Jan 12, 2010 at 22:38 UTC ( #817079=note: print w/replies, xml ) Need Help??


in reply to Re: Suffering with buffering - how to wake 'less'
in thread Suffering with buffering - how to wake 'less'

That omits the first 999,990 lines of that sample script. But, as used in my reply to ikegami, it's close to what I'm settling on. dosomething > file &; tail -f file Even though I really just want some 'read the rest of the input' command in 'less'.

Replies are listed 'Best First'.
Re^3: Suffering with buffering - how to wake 'less'
by ikegami (Patriarch) on Jan 13, 2010 at 00:15 UTC
    producer > file & tail -n +1 -f file | less ; rm file

    Nah, no good, tail never exits, so less freezes trying to get the end of the file.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (1)
As of 2022-08-08 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?