Hi, I am having a file that has the following lines say
13:26:35.655029 (TN) sh:sdf:sdf > ra:ram:raml, type Normal (800), length 21: ID 10.1.1.1 > 20.2.2.2: Addr 77: TP
13:26:35.656029 (TN) ra:ram:raml > sh:sdf:sdf, type Normal (800), length 21: ID 20.2.2.2 >10.1.1.1: Addr 77: TP
I need to get sh:sdf:sdf , ra:ram:raml ,10.1.1.1 , 20.2.2.2 from 1st line and ra:ram:raml sh:sdf:sdf 20.2.2.2 10.1.1.1 from second line. how to do this using sed or awk