if (defined($_ = <>)) { chomp; print; while (<>) { print "\n" if /^</; chomp; print; } print "\n"; } [download]
In reply to Re: Align text by ikegami in thread Align text by Anonymous Monk