superclass=
type=module
library=open3
extended=
included=

ץ¹ԤΥץɸϡɸϡ
ɸ२顼Ϥ˥ѥפĤʤޤ

=== 

nroff ¹ԤƤɸϤ man ڡ߽롣
nroff ץɸϤ̤롣

  require "open3"

  stdin, stdout, stderr = *Open3.popen3('nroff -man')
  # 餫
  Thread.fork {
    File.foreach('/usr/man/man1/ruby.1') do |line|
      stdin.print line
    end
    stdin.close    # ޤ close_write
  }
  # 餫ɤ
  stdout.each do |line|
    print line
  end
