|
Last change
on this file since 1538 was 2, checked in by Yuri Dario, 15 years ago |
|
Initial import for vendor code.
|
-
Property svn:eol-style
set to
native
|
|
File size:
352 bytes
|
| Line | |
|---|
| 1 | import sys
|
|---|
| 2 | import string
|
|---|
| 3 | import rcvs
|
|---|
| 4 |
|
|---|
| 5 | def main():
|
|---|
| 6 | while 1:
|
|---|
| 7 | try:
|
|---|
| 8 | line = raw_input('$ ')
|
|---|
| 9 | except EOFError:
|
|---|
| 10 | break
|
|---|
| 11 | words = string.split(line)
|
|---|
| 12 | if not words:
|
|---|
| 13 | continue
|
|---|
| 14 | if words[0] != 'rcvs':
|
|---|
| 15 | words.insert(0, 'rcvs')
|
|---|
| 16 | sys.argv = words
|
|---|
| 17 | rcvs.main()
|
|---|
| 18 |
|
|---|
| 19 | main()
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.