scuffed-code/tools/colprobe/winGenCollData.pl
Andy Heninger 8fbddcf5c7 ICU-4301 committ the collation probe tools
X-SVN-Rev: 20601
2006-10-27 00:03:21 +00:00

31 lines
635 B
Perl
Executable File

#!/usr/bin/perl -w
use strict;
#my $localeMinusA = `locale -a`;
my $localeMinusA = `cat locale.txt`;
my @locales = split(/\r\n/, $localeMinusA);
my $locale;
my $command;
#my $commandPath = "~/src/icu/source/extra/colprobe/";
my $commandPath = "c:/dev/0_icu/source/extra/colprobe/release/";
my $platform = $ARGV[0];
mkdir $platform."logs";
mkdir $platform;
foreach $locale (@locales) {
$_ = $locale;
chomp;
if(!/^\#/) { # && /\_/) {
$command = $commandPath."colprobe --platform $platform --ref $platform --output resb $locale >$platform"."logs/$locale"."_log.txt 2>&1";
print "$command\n";
`$command`;
}
}