- Cut off tab at the end of a line for xargs

This commit is contained in:
ccremers 2004-10-14 20:17:01 +00:00
parent 19d7b42b14
commit 46ce2f37ee

View File

@ -44,9 +44,12 @@ def tupleUnit (x):
def tuplesPrint (l, n, r): def tuplesPrint (l, n, r):
if r and (len(r) == n): if r and (len(r) == n):
count = 0
for x in r: for x in r:
print x, if count > 0:
print "\t", print "\t",
print x,
count = count+1
print print
else: else:
if l and (n > 0): if l and (n > 0):