2010/6/3 Thomas Secret <martin.gerdes / directbox.com>:
> Thank you thank you thank you :-)
>
> Buffering by mawk simply wasn't something that crossed my mind at all.
> With your ruby line it walks flawlessly.
>
> For anyone interested: mawk needs the Option "-W interactive" do process
> input as it arrives...
>
> And I dumbly and persistently searched for the problem on the ruby
> side...

Thomas, why do you use IO.pipe and fork instead of IO.popen or Open3.popen3?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/