3 # $Release Version: 0.7 $
5 # by Keiju ISHITSUKA(keiju@ruby-lang.org)
22 @shell = sh # parent shell
23 @input = nil # input filter
33 rs = @shell.record_separator unless rs
35 @input.each(rs){|l| yield l}
42 cat = Cat.new(@shell, src)
48 Shell.Fail Error::CantApplyMethod, "<", to.class
55 dst = @shell.open(to, "w")
64 Shell.Fail Error::CantApplyMethod, ">", to.class
71 Shell.cd(@shell.pwd).append(to, self)
72 rescue CantApplyMethod
73 Shell.Fail Error::CantApplyMethod, ">>", to.class
80 @shell.process_controller.start_job filter
86 Join.new(@shell, self, filter)
91 each(){|l| ary.push l}
97 each(){|l| str.concat l}
102 if @shell.debug.kind_of?(Integer) && @shell.debug > 2