Skip to content

Commit

Permalink
This is a text file, not binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Mar 15, 2006
1 parent 4a09d05 commit 4774236
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions build/addresses.pl
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/usr/bin/perl

open(XML,"../sdss-sites-13.xml") || die "could not open input file";

while (<XML>) {
if (/<EmailAddress>mailto:(.*)<\/EmailAddress>/) {
if (!defined($lowered{lc $1})) {
$lowered{lc $1} = $1;
push @addresses, $1;
}
}
}

foreach $addr (@addresses) {
print $addr, "\n";
}

close XML;
#!/usr/bin/perl

open(XML,"../sdss-sites-13.xml") || die "could not open input file";

while (<XML>) {
if (/<EmailAddress>mailto:(.*)<\/EmailAddress>/) {
if (!defined($lowered{lc $1})) {
$lowered{lc $1} = $1;
push @addresses, $1;
}
}
}

foreach $addr (@addresses) {
print $addr, "\n";
}

close XML;

0 comments on commit 4774236

Please sign in to comment.