From: Robert Klemme Date: 2010-10-06T17:51:56+09:00 Subject: Another issue with spamassassin Hi, that's the second time I get a reply like this. Is there a way to make spamassassin more robust (new version)? Cheers robert ---------- Forwarded message ---------- From: Mail Delivery System Date: Wed, Oct 6, 2010 at 10:16 AM Subject: Undelivered Mail Returned to Sender To: shortcutter@googlemail.com This is the mail system at host carbon.ruby-lang.org. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message.                   The mail system : Command died with status 9:    "/usr/local/bin/spamassassin |/usr/share/fml/fml.pl /var/spool/ml/ruby-talk    ". Command output: Nested quantifiers in regex; marked by <-- HERE in    m/^AANLkTinUY==sm8G7_+t4k2MrX9LQwxy2P+8t7QiH++ <-- HERE Xn/ at    /usr/share/fml/fml.pl line 1844, line 1. Final-Recipient: rfc822; ruby-talk@ruby-lang.org Action: failed Status: 5.3.0 Diagnostic-Code: x-unix; Nested quantifiers in regex; marked by <-- HERE in    m/^AANLkTinUY==sm8G7_+t4k2MrX9LQwxy2P+8t7QiH++ <-- HERE Xn/ at    /usr/share/fml/fml.pl line 1844, line 1. ---------- Forwarded message ---------- From: Robert Klemme To: ruby-talk@ruby-lang.org Date: Wed, 6 Oct 2010 10:15:58 +0200 Subject: Re: how do i detect END OF FILE file in ruby On Wed, Oct 6, 2010 at 10:07 AM, Amit Tomar wrote: >         i would like to know how do i detect END OF FILE file in > ruby.is there > any EOF operator  in ruby??? IO#gets will return nil, IO#read will return nil or "" depending. Please see the docs. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/