Hello,
i have a problem and need your help
i have a text file generated automatically from a script , but the result in the script is not ordered in a readable way, so i need your help to fix it using a shell command
the text file contain data in this way :
0.147361 0.243688 0.081520 -0.446603 1.130529 NC_000846 Chordata
Rheiformes
Aves
0.091740 0.379224 0.021160 -0.088493 3.441356 NC_000857 Arthropoda
Diptera
Insecta
0.169093 0.265700 0.030083 -0.262037 1.211815 NC_000860 Chordata
Salmoniformes
Actinopterygii
i want to arrange the data in this text file in a way that each line will concatenate the 3 lines after it , so that will be 1 line , i want all the lines to be treated in this way ,
is there any way to do this ?
thanks in advance