make-names.pl
./world-0.6/make-names.pl · 212 B
From the archive Glacier-0.6.tar.gz
Download the archive « Back to the archive contents
print "name sys 0\n";
print "name root 1\n";
$num = 2;
while (<>) {
($a, $b) = split(/^object[\t ]+/);
if ($b) {
chop($b);
if ($b ne "root" && $b ne "sys") {
print "name $b $num\n";
$num++;
}
}
}