the reason is that the algorithm is
simpler if fmt reads all the words and then
formats them.

if you could modify the source in a simple way to make it
incremental (for instance by flushing the words at
the end of each paragraph) i imagine the patch
might be accepted.

2009/10/18 Rudolf Sykora <rudolf.syk...@gmail.com>:
> I may not fully understand the problem, but wouldn't it be just fine
> if fmt output anything it can already output?
> I.e., filled lines are output, on encountering '\n' the (generally
> unfilled) line is output...
> (Or what is the reason that fmt waits for EOF?)
>
> R

Reply via email to