>>>>> "H" == Hal E Fulton <hal9000 / hypermetrics.com> writes:

H> Hmm... does this work in 1.7.1? 

 Yes, but only with -e

pigeon% cat aa
abc
=begin
cccc
llll
=end

=ef
aaaa
pigeon% 

pigeon% ruby -ne 'print if (!(/=begin/../=end/) && !(/^=[-a-zA-Z0-9. ]*=/))' aa
abc

=ef
aaaa
pigeon% 


Guy Decoux