comparison bin/dfi @ 285:624eead87f86

Merge.
author Edho Arief <edho@myconan.net>
date Thu, 22 Dec 2011 15:00:25 +0700
parents 006c273399fb
children
comparison
equal deleted inserted replaced
284:5ef99c47e636 285:624eead87f86
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