On Saturday 10 December 2005 02:01 pm, Christian Neukirchen wrote:
> Steve Litt <slitt / earthlink.net> writes:

> >
> > #!/usr/bin/ruby
> >
> > ### SLURP STDIN
> > lines = []
> > while line = gets
> > 	lines.push(line.chomp)
> > end
>
> lines = STDIN.readlines

Thanks, I was looking for something like that.
 
Steve Litt
http://www.troubleshooters.com
slitt / troubleshooters.com