lilalo

view l3prompt @ 113:8287cb3530de

sever files added
author igor
date Sun Mar 09 02:34:52 2008 +0200 (2008-03-09)
parents
children 658b4ea105c1
line source
1 #!/usr/bin/perl
3 $string="abcdefghijklmnopqrstuvwxyz";
4 $insert="\e[1K\e[10D";
5 $max=5;
7 while (length($string) > $max) {
8 $res .= substr($string, 0, $max).$insert;
9 $string = substr($string, $max);
10 }
11 $res .= $string.$insert;
12 print "$res\n";