comparison bin/dfi @ 279:33d0cb669e1f

Merge.
author Edho Arief <edho@myconan.net>
date Thu, 08 Dec 2011 19:12:53 +0700
parents 006c273399fb
children
comparison
equal deleted inserted replaced
272:53bbc9673f87 279:33d0cb669e1f
1 #!/usr/bin/env python
2
3 import os
4 import sys
5
6 rows = sys.stdin.readlines()
7
8 for row in rows:
9 if row.find(' ', 1, 49) == -1:
10 row = row[0:48] + ' ' + row[48:]
11 data = row.split(None, 5)
12 print '|'.join(data)
13