#!/usr/bin/perl while() { $_ =~ s/\/>/g; $_ =~ s/^$/\ /g; print $_; }