Pho,
what is your version of HP-UX?
I tried with HP-UX 11i, and the solutions given by Ken and Chacal worked.
I don't know about a parameter MAX_BYTES, or a line limit, could you tell us more about it?
(I remember having seen a similar limitation on an old SCO Unix system, looong ago, but it don't know if there was a workaround.)