s!^((?: {8})+)!"\t" x length ($1) / 8!e;