turn list into one line

Hi All

i am cat'ing a file and then using cut to get rid of some info, is there a way to turn the list into one line

i.e

1
2
3
4
5


into

1 2 3 4 5

thanks

thanks for the speedy reply, i see i can use tr -d '\n' how would i make it so there is a space between the words

just go through the answers which i have provided below in the above posted post ..

doh, sorry just saw that

thanks for the help
much appriacted