diff options
author | ivan <ivan> | 2009-03-11 08:46:21 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-03-11 08:46:21 +0000 |
commit | 7bc780834a604a2e678d028f875fd4b546412cfb (patch) | |
tree | fca55557719479bb80c0a83e899e15450d8dec20 /bin | |
parent | 32db3ad86bcf04e4f34705a396b718061d333f20 (diff) |
quick list of area codes and a kludge to print DA numbers for all of them
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/print-directory_assist | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/print-directory_assist b/bin/print-directory_assist new file mode 100755 index 000000000..210a16c60 --- /dev/null +++ b/bin/print-directory_assist @@ -0,0 +1,12 @@ +#!/usr/bin/perl -w + +use strict; + +my $acs = `cut -c1-3 ../etc/areacodes.txt`; + +my $plus = ''; +foreach my $npa ( split(/\n/, $acs ) ) { + warn $npa; + $plus .= $npa. '5551212 '; +} +print "$plus\n"; |