What have you tried? Here is a simple, although unmaintainable, solution that may give you a starting point.
perl -ne 'chomp; my @data; push @data, $1 while s/^(...)//; print join +(":", @data), ", rest=:$_:\n";'
In reply to Re: split a squence by 3 letters
by MidLifeXis
in thread split a squence by 3 letters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |