Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
ba60319a78ed6be5a57d5288e0e131c4bc6c8cf8
/
.
/
Demo
/
pdist
/
mac.py
blob: 516ee153e48f618e97b7bbd0a1ff4a21a2625be6 [
file
] [
log
] [
blame
]
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
()