log
graph
tags
branches
changeset
browse
file
latest
diff
annotate
file log
raw
lilalo
view l3prompt @ 112:da65f1cbaf3a
find changesets by author, revision, files, or words in the commit message
l3prompt added
author
igor
date
Sat Mar 08 22:36:44 2008 +0200 (2008-03-08)
parents
children
658b4ea105c1
line source
1
#!/usr/bin/perl
2
3
$string="abcdefghijklmnopqrstuvwxyz";
4
$insert="\e[1K\e[10D";
5
$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\n";
13