Artifact cf4a65d90e7be2001a7485af1e30704eb8ed5209:
- File tests/langbench/sort.py — part of check-in [69b737f5a1] at 2016-04-19 20:35:49 on branch little — Fork of Tcl used in the "Little" project. http://www.mcvoy.com/lm/little/index.html (user: dgp, size: 152) [annotate] [blame] [check-ins using]
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,