From: pete@... (Peter J. Kernan) Date: 2001-11-10T02:48:09+09:00 Subject: [ruby-talk:24779] Re: I've ported the python nntplib class to Ruby. I will be adding comments to it soon. Here it is for public commentary and criticism On Thu, 08 Nov 2001 16:46:13 GMT, jheard was ready with: [nntplib code] i had a runtime error with a small test program can reproduce on my system w/given library by changing s = Net::NNTP.new('news.prodigy.net', 119, 'giddybug', 'sycamore') to s = Net::NNTP.new('news') @@ -229,7 +229,7 @@ lines.each_index {|ix| line = lines[ix] m = pat.match line - lines[ix] = m[1..2] + lines[i] = m[1..2] } return resp, lines end also, here is what i get w/patched version narya:~/tmp> ruby nntplib.rb 211 890 19749 20640 comp.lang.ruby group 20640 has 211 articles, range 890 to 19749 221 subject fields follow 205 GoodBye i expected the subjects to be listed narya:~/tmp> ruby -v ruby 1.6.5 (2001-09-19) [i386-openbsd2.9] do i need ruby version > 1.6.5? Pete -- screwbean: a shrub or small tree found in the US Desert Southwest