log
graph
tags
branches
changeset
browse
file
latest
diff
annotate
file log
raw
lilalo
view l3prompt @ 121:58c869722fd0
find changesets by author, revision, files, or words in the commit message
mini fixes
author
igor
date
Sun Jun 29 15:09:04 2008 +0300 (2008-06-29)
parents
658b4ea105c1
children
line source
1
#!/usr/bin/perl
2
3
my $string=$ARGV[0];
4
my $insert="\e[1K\e[10D";
5
my $max=5;
6
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";
13