in reply to Re^4: IPC::Run and subprocess interaction
in thread IPC::Run and subprocess interaction

One would presume that the input to cat has carriage returns before the newlines.