Article View: comp.sources.d
Article #2024Re: areacode.c
From: John Gilmore
Date: Wed, 19 Nov 1986 19:32
Date: Wed, 19 Nov 1986 19:32
15 lines
1340 bytes
1340 bytes
In article <22531@rochester.ARPA>, ken@rochester.ARPA (SKY) writes:
> This is a little C program translated from an assembler program in the
> Simtel20 archives. For example, you type "areacode 212" and it tells
> you that code is in NYC.
The database of area codes and cities is useful, though
somewhat inaccurate, but people who haven't noticed should
realize that "grep" makes a great tool for searching it --
you don't need a special program to look up area codes.
(If your system has C but not "grep": there are public
domain grep's around. Mod.sources has one from James Woods.)
--
John Gilmore {sun,ptsfa,lll-crg,ihnp4}!hoptoad!gnu jgilmore@lll-crg.arpa
"I can't think of a better way for the War Dept to spend money than to
subsidize the education of teenage system hackers by creating the Arpanet."
Technical Details
Message-ID:
<1314@hoptoad.uucp>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!rutgers!sri-spam!mordor!styx!lll-crg!hoptoad!gnuReferences:
<22531@rochester.ARPA>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!brl-adm!rutgers!sri-spam!mordor!styx!lll-crg!hoptoad!gnu From: gnu@hoptoad.uucp (John Gilmore) Newsgroups: comp.sources.d Subject: Re: areacode.c Message-ID: <1314@hoptoad.uucp> Date: Wed, 19-Nov-86 14:32:56 EST Article-I.D.: hoptoad.1314 Posted: Wed Nov 19 14:32:56 1986 Date-Received: Wed, 19-Nov-86 22:39:31 EST References: <22531@rochester.ARPA> Organization: Nebula Consultants in San Francisco Lines: 15