Bug 22217

Summary: [PATCH] UK phone codes out of date
Product: Ports & Packages Reporter: Keith Jones <keith>
Component: Individual Port(s)Assignee: Brian Somers <brian>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Keith Jones 2000-10-22 18:40:01 UTC
	Phone code list does not reflect recent dialling code changes.

Fix: 

Very simple patch follows (pipe 'uk.phone' through script,
	redirect stdout to wherever is appropriate):

#!/usr/bin/perl
while(<>) {
        s/^(\d+)-(\d+)/$1 $2/;
        s/^0171(\d*) /020 7$1/;
        s/^0181(\d*) /020 8$1/;
        s/^01203(\d*) /024 76$1/;
        s/^01222(\d*) /029 20$1/;
        s/^01232(\d*) /028 90$1/;
        s/^01365(\d*) /028 66$1/;
        s/^01703(\d*) /023 80$1/;
        s/^01705(\d*) /023 92$1/;
        print;
}
How-To-Repeat: 
	Install port, look at phone codes, compare against back of more
	recent phone bill. ;)
Comment 1 Doug Barton freebsd_committer freebsd_triage 2000-10-31 07:45:37 UTC
Responsible Changed
From-To: freebsd-ports->brian

brian is the maintainer of this port
Comment 2 Brian Somers freebsd_committer freebsd_triage 2000-10-31 22:37:50 UTC
State Changed
From-To: open->closed

Committed - thanks.