only strip trailing newlines from the ends of the rows
This commit is contained in:
@@ -24,8 +24,8 @@ def parse(text):
|
||||
writer = csv.writer(sys.stdout)
|
||||
for inrow in sys.stdin:
|
||||
outrow = []
|
||||
for text in inrow.split("\t"):
|
||||
outrow.append(parse(text.rstrip()))
|
||||
for text in inrow.rstrip().split("\t"):
|
||||
outrow.append(parse(text))
|
||||
writer.writerow(outrow)
|
||||
|
||||
#jl
|
||||
|
||||
Reference in New Issue
Block a user