commit | c163ae5237aa7b00aa9cfdac50d29051d8a5a435 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jul 30 19:05:56 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jul 30 19:05:56 1996 +0000 |
tree | c0d7b4e538d652851cbf72bcc982047f54a57793 | |
parent | db9c054f6082b9f4d1afd3fb088f808c54c7a71b [diff] [blame] |
mac utility
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()