I have string like below mentioned and contain n number of lines per group and I would like to arrange the string as mentioned below ..
real 51.85ms
sys 22.41ms
usr 29.70ms
[www.ms786.com] 2345 sunset follow
Multidd 567890KB
real 61.85ms
sys 32.41ms
usr 27.70ms
[www.ms586.com] 4345 sunset follow
Multidd 4567890KB
real 51.85ms
sys 12.41ms
usr 41.70ms
[www.ms186.com] 7345 sunset follow
Multidd 8967890KB
TO
[www.ms786.com] 2345 sunset follow
Multidd 567890KB
real 51.85ms
sys 22.41ms
usr 29.70ms
Multidd 567890KB
[www.ms586.com] 4345 sunset follow
Multidd 4567890KB
real 61.85ms
sys 32.41ms
usr 27.70ms
[www.ms186.com] 7345 sunset follow
Multidd 8967890KB
real 51.85ms
sys 12.41ms
usr 41.70ms`
Could you help how it can be reshuffled in the string itself. Will really appreciate your help