(1 / 1)
Date: April 13, 1987 19:40
From: ERNIE::DENCKER
To: @SYS$MAIL:JUNK,DENCKER
MAGICALLY QUICK SEARCH FUNCTION
If you are interested in having at your fingertips an answer to
the question "What part of the country is that telephone area
code?" or "What's the area code of Boston?", here's how to get it.
Simply insert this line into your LOGIN.COM file anywhere above the line
that reads $ EXIT:
$ AC :== SEARCH SYS$USERDISK:[DENCKER.MISC]AREA-CODES.LIS
or you can copy that AREA-CODES.LIS file over to your directory and call it
by your new name.
To use the "AC" command, type:
$ ac what-you're-looking-for For example: $ ac boston
$ ac 818
$ ac oregon
$ ac "new york"
Note that if you're looking for two words that are separated by a space, you
have to enclosed them with quote marks.
The resulting display on your screen will be all lines in the file
AREA-CODES.LIS that contain the characters you're searching for. The file
only has the largest city in most area codes; the rest you have to look up
in the phone book. The file does, however, mention the fact that three new
area codes will be created in 1988 in Colorado, Florida, and Massachusetts.
You can type the search string in uppercase or lowercase -- it doesn't
matter. If you don't like the "ac" command, you can make up a different
word, such as "area".
Remember, after you update your LOGIN.COM file, you have to type
$ RESTART to make the new command take effect (equivalent to logging out and
in again). No warranties of accuracy or fitness for a particular purpose
are expressed or implied.
Andrea
Apr 13, 1987