lilalo

view l3prompt @ 128:56cd2abd3e8a

l3-upload dir is read from config file
author igor@chub.in
date Fri Jul 04 17:49:17 2008 +0300 (2008-07-04)
parents 658b4ea105c1
children
line source
1 #!/usr/bin/perl
3 my $string=$ARGV[0];
4 my $insert="\e[1K\e[10D";
5 my $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";