Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a892dac5
Commit
a892dac5
authored
Jun 15, 1995
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated comments
parent
db225cda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
Tools/world/world
Tools/world/world
+3
-5
No files found.
Tools/world/world
View file @
a892dac5
...
...
@@ -6,13 +6,11 @@
#
# $Id$
# This little
perl program will take an i
nternet address of the form
# This little
script will take an I
nternet address of the form
# foobar@some.place.domain and will print out where in the world that
# message originated from. Its pretty dumb in that it just matches
# the `domain' part against a hard-coded list. Also, I haven't
# checked the list for validity -- I picked it up from someplace. With
# the speed in which political boundaries are changing these days, no
# doubt there are some incorrect mappings.
# the `domain' part against a hard-coded list, which can probably
# change fairly quickly given the world's political fluidity.
import
sys
prog
=
sys
.
argv
[
0
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment