summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-07-30 19:05:56 (GMT)
committerGuido van Rossum <guido@python.org>1996-07-30 19:05:56 (GMT)
commitc163ae5237aa7b00aa9cfdac50d29051d8a5a435 (patch)
treec0d7b4e538d652851cbf72bcc982047f54a57793
parentdb9c054f6082b9f4d1afd3fb088f808c54c7a71b (diff)
downloadcpython-c163ae5237aa7b00aa9cfdac50d29051d8a5a435.zip
cpython-c163ae5237aa7b00aa9cfdac50d29051d8a5a435.tar.gz
cpython-c163ae5237aa7b00aa9cfdac50d29051d8a5a435.tar.bz2
mac utility
-rwxr-xr-xDemo/pdist/mac.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/Demo/pdist/mac.py b/Demo/pdist/mac.py
new file mode 100755
index 0000000..516ee15
--- /dev/null
+++ b/Demo/pdist/mac.py
@@ -0,0 +1,19 @@
+import sys
+import string
+import rcvs
+
+def main():
+ while 1:
+ try:
+ line = raw_input('$ ')
+ except EOFError:
+ break
+ words = string.split(line)
+ if not words:
+ continue
+ if words[0] != 'rcvs':
+ words.insert(0, 'rcvs')
+ sys.argv = words
+ rcvs.main()
+
+main()