shithub: riscv

ref: ad8747310983ef011f7ce6211836121e029e48b5
dir: /sys/src/cmd/python/Demo/pdist/mac.py/

View raw version
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()