change line and rows

hej

i have a simple question:
is it possible to change rows and lines in a simple textfile with awk or something else?

I have:

1 2 3 4 5 6
9 8 7 6 5 4

an I will have:

19
28
37
46
55
64

and this for a large number of rows (512)

is it possible? can somebody help me?

What you mean is to transpose the file, an operation which has been covered before.

For future reference, if your question has probably already been answered, please use the sites search functionality. It's conveniently located at the top right of every page, and gives good results for 'transpose file contents'