shithub: riscv

ref: a944c37d68b3742ae5156cec3bd23f64ad5c7a1b
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()