Columns to rows with space

Hi,

My input is in the following way

a
b
c
d
e
f

I would like to have it printed as

a b c d e f

Any awk scripts are appreciated.

tr '\n' ' ' <input
1 Like