0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
cpython/Demo/pdist/mac.py
Guido van Rossum c163ae5237 mac utility
1996-07-30 19:05:56 +00:00

20 lines
271 B
Python
Executable File

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()