http://qs1969.pair.com?node_id=817079


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.