#
# By Ken Stevens <children@empire.net>
#
+# FIXME This does not work at the moment
+#
# HOW TO RUN IT:
# In empire, redirect the output of the player "list" command to a file called
# "player.list". Similarly, make a file listing deity commands and call it
# to check which Empire commands need to be documented.
#
+use strict;
+use warnings;
+
+my ($com, @list, @obsolete, @Commands);
+
open(LIST, "<player.list") || die "Can't read player.list\n";
while(<LIST>) {
close LS;
print "In list but not Commands:\n";
-for $l (@list) {
+for my $l (@list) {
print " $l\n" unless grep (/^$l$/, @Commands);
}
print "In Commands but not list:\n";
-for $c (@Commands) {
+for my $c (@Commands) {
print " $c\n" unless grep(/^$c$/, @list) || grep(/^$c$/, @obsolete);
}