From: Steve Litt Date: 2005-12-11T06:06:57+09:00 Subject: Re: LyX chapter lister On Saturday 10 December 2005 02:01 pm, Christian Neukirchen wrote: > Steve Litt 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