5 ##---------------------------------------------------------------------------##
8 ## Markus F.X.J. Oberhumer <markus@oberhumer.com>
11 ## Create short files for compression test
13 ## Copyright (C) 1996-2011 Markus Franz Xaver Johannes Oberhumer
15 ##---------------------------------------------------------------------------##
17 $c = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
24 $name = sprintf("f%04d.dat",$i);
25 open(OUTFILE
,">$name") || die "$0: cannot open '$name': $!";
27 print OUTFILE
substr($x,0,$i);