log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
repos
>
xuebing
>
sharplabtool
annotate tools/data_source/echo.py @ 0:
9071e359b9a3
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Uploaded
author
xuebing
date
Fri, 09 Mar 2012 19:37:19 -0500
parents
children
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
rev
line source
0
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
1
#!/usr/bin/env python
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
2
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
3
"""
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
4
Script that just echos the command line.
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
5
"""
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
6
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
7
import sys
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
8
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
9
assert sys.version_info[:2] >= ( 2, 4 )
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
10
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
11
print '-' * 20, "<br>"
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
12
for elem in sys.argv:
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
13
print elem, "<br>"
9071e359b9a3
Uploaded
xuebing
parents:
diff
changeset
14
print '-' * 20, "<br>"