diff options
Diffstat (limited to 'tests/langbench/sort.py')
-rw-r--r-- | tests/langbench/sort.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/langbench/sort.py b/tests/langbench/sort.py new file mode 100644 index 0000000..f36bbc1 --- /dev/null +++ b/tests/langbench/sort.py @@ -0,0 +1,13 @@ +import os +import sys +import re + +l = [] +for a in sys.argv: + f = open(a) + for line in f: + l.append(line) + f.close() +l.sort() +for line in l: + print line, |