screen display help

Hello All,

I have a file that is formatted like this
1234556
1234567
1234588
1123888
1999999
1010101
1919191
1919191....

for a total of 26000 + lines
how do I get a script to read lets say 50 lines at a time
and display the output to the screen in column format around 5 or 6 columns wide

lets say

1234556 9999999 etc
1234567 8888888
1234588 7777777
1123888 6666666
1999999 5555555
1010101 4444444
1919191 3333333
1919191 2222222

like that

Thanks

No need for a script.
try the "pr" command (HP-UX)

if your file name is "myfile" and you want 8 column out put

pr -8k myfile | more

otherwise its the "paste -s myfile" command

Good luck

thanks I'll give it a try