commit 8ce52592c167d1e070ae3d91a67bf282a2443cb4 parent ef2bd441a1b6e0c08dea152114e9e30d2ec53155 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sun, 12 Jun 2011 21:23:22 -0400 add old file Diffstat:
simplify.py | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/simplify.py b/simplify.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +import sys + +while True: + line = sys.stdin.readline() + if not line: + break + line = line.rstrip().split('\t') + print ("%s\t%s" % (line[0][-8:], line[1][-5:]))