I have a lot of lines like below:
123;XXXXXXXXXXXXXXX;ABCDE;YYYYYYYY;08082010;000000000000000;03/08/10;110000;ZZZZZZZZZZZZZZZZZ;0002
I just want to change the number format (15 digit) XXXXXXXXXXXXXXX to XXXXXXXXX;XXX;XXX
and
YYYYYYYYY (9 digit) to YYYYYY;YYY
with sed.
any other format just leave the default