summaryrefslogtreecommitdiffstats
path: root/Demo/pdist
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/pdist')
-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()