What happens when you do this? pr --columns=2 -t -n.2 input >output cat output If the problem still occurs (as I think it will), then it's not a problem with 'pr', it's a problem with something else.