#!ruby -p 1while sub!(/if( [tfe]\w+){5}/){eval"#$& end"}