Date: Sun, 22 Oct 2000 18:33:36 +0100 (BST) From: Keith Jones <keith@mithy.demon.co.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22217: [PATCH] UK phone codes out of date Message-ID: <200010221733.e9MHXak26108@celery.mithy.org>
next in thread | raw e-mail | index | archive | help
>Number: 22217 >Category: ports >Synopsis: [PATCH] UK phone codes out of date >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 22 10:40:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Keith Jones >Release: FreeBSD 4.1.1-STABLE i386 >Organization: no >Environment: any >Description: Phone code list does not reflect recent dialling code changes. >How-To-Repeat: Install port, look at phone codes, compare against back of more recent phone bill. ;) >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; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010221733.e9MHXak26108>