in reply to Suffering with buffering - how to wake 'less'

You could try using another command, like:

perl -lwe 'print and /000$/ and warn "HERE$_\n" for 1..1e6' | tail -f

Replies are listed 'Best First'.
Re^2: Suffering with buffering - how to wake 'less'
by benizi (Hermit) on Jan 12, 2010 at 22:38 UTC

    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'.

      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.