mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-25 08:41:54 +00:00
[svn r6611] Better
This commit is contained in:
parent
424e2359ad
commit
cdd9b4c174
@ -17,7 +17,7 @@ if ($usage) {
|
||||
}
|
||||
|
||||
unless ($ARGV[0]) {
|
||||
print "Specify a CSV file name as the program's argument (e.g. qm.csv)\n";
|
||||
print "Specify a CSV file name as the program's argument (e.g. glossary.csv)\n";
|
||||
usage();
|
||||
}
|
||||
|
||||
@ -63,7 +63,10 @@ my $output="";
|
||||
my $templine;
|
||||
my $lcletter;
|
||||
my $letter = "";
|
||||
print "Progress: *";
|
||||
|
||||
unless ($no_verbose_progress) {
|
||||
print "Progress: *";
|
||||
}
|
||||
|
||||
my %areanames =
|
||||
("ariston.html", "Deep South",
|
||||
@ -105,7 +108,9 @@ while (<CSV>) {
|
||||
|
||||
$output = "$output$templine";
|
||||
|
||||
print "*";
|
||||
unless ($no_verbose_progress) {
|
||||
print "*";
|
||||
}
|
||||
}
|
||||
|
||||
print TABLE << "END";
|
||||
@ -126,7 +131,9 @@ $output
|
||||
END
|
||||
|
||||
close TABLE;
|
||||
print "\nInformation: Done\n";
|
||||
unless ($no_verbose_progress) {
|
||||
print "\nInformation: Done\n";
|
||||
}
|
||||
|
||||
# Parse the CSV file
|
||||
sub parse_csv {
|
||||
|
Loading…
Reference in New Issue
Block a user