From c163ae5237aa7b00aa9cfdac50d29051d8a5a435 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 30 Jul 1996 19:05:56 +0000 Subject: mac utility --- Demo/pdist/mac.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 Demo/pdist/mac.py 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() -- cgit v0.12