-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
96 changed files
with
2,329 additions
and
778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| #!/usr/bin/env perl -w | ||
|
|
||
| # | ||
| # mdui.pl | ||
| # | ||
| use lib "../build"; | ||
| use Xalan; | ||
| use Months; | ||
|
|
||
| # Parse command line arguments | ||
| use Getopt::Long; | ||
| my $allMonths; | ||
| my $oneYear; | ||
| GetOptions('all' => \$allMonths, 'year' => \$oneYear); | ||
|
|
||
| # By default, only show results for the most recent month | ||
| if ($allMonths) { | ||
| # leave table intact | ||
| } elsif ($oneYear) { | ||
| # reduce months table to just the last 12 entries | ||
| @months = @months[-12..-1]; | ||
| } else { | ||
| # reduce months table to one element | ||
| @months = @months[-1..-1]; | ||
| } | ||
|
|
||
| # ingest files | ||
| foreach $month (@months) { | ||
| print "Processing $month\n"; | ||
|
|
||
| my $command = xalanCall . " -IN cache/$month.xml -XSL statistics_mdui.xsl"; | ||
| # print "command is $command\n"; | ||
| system($command); # || print "ignoring claimed failure in sub command\n"; | ||
| # print "Xalan run on $fn\n"; | ||
| print "\n"; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.