dbsiegel / phone-cruncher-app

small programs to crunch phone number files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem Description:
Given a telephone directory associating names of people and their telephone numbers, output the names of people who share the same phone number.
 
Input format is a 2 column tab-delimited file.  In each row, it is expected there exists a:
·         Person’s name

·         10-digit US phone number, with or without parentheses, hyphens, or dots, and optional 3 digit area code.


Here is an example of how to run the perl script:
$ ./phonenumberassociator.pl -input_file testphonefile.txt


Here is an example of how to run the java program:
$ java -jar PhoneAssociation.jar

About

small programs to crunch phone number files


Languages

Language:Perl 100.0%