Spliting a row to multiple rows using shell script

Please advice script for changing from A to B
I'd like to Split a row to multiple rows with 4 columns using shell script.

The data of the file is in one row as below that is 28Mbyte size.

A>
cto10001 0000000 201010 10:52:13 cto10001 0000000 201011 10:52:13 cto10001 0000000 201011 10:52:13 cto10001 0000000 201010 10:52:13 cto10002 0000000 201010 10:52:14 ..................................................................................................
................................................................

B>
cto10001 0000000 201010 10:52:13
cto10001 0000000 201011 10:52:13
cto10001 0000000 201011 10:52:13
cto10001 0000000 201010 10:52:13
cto10002 0000000 201010 10:52:14
.
.
.

Thanks in advance
Leo.

$ xargs -n4 < file1
cto10001 0000000 201010 10:52:13
cto10001 0000000 201011 10:52:13
cto10001 0000000 201011 10:52:13
cto10001 0000000 201010 10:52:13
cto10002 0000000 201010 10:52:14
1 Like

Wow that's great thanks alot..