Hi Folks,
I have a log file:
02/06/2010-10:03:24 C|A,68132,199024488,0,LWM/300,212.154.77.33,0
02/06/2010-10:04:05 C|A,72540,199022957,1,212.154.77.22,212.154.77.22,0
02/06/2010-10:04:05 C|A,72540,199022957,1,212.154.77.22,toto,0
02/06/2010-10:04:05...
Hello,
I am trying to read 2 files and writing to the 3rd file if i find the same elements in 2 files.
my first file is:
11/05/2010-18:09:55 2158
11/05/2010-18:09:56 1582
11/05/2010-18:09:57 1315
11/05/2010-18:09:58 400
11/05/2010-18:09:59 894
11/05/2010-18:10:00 1225
11/05/2010-18:10:01 1296...
Hi
Yes i mean "string" and you are rigth Annihilannic. I just want to group all of the matching ssrc fields together
could you tell me how can i use the sort i have an idea for example sort -n, "--numeric-sort compare according to string numerical value".
awk '{{print $0 | "sort -n $6" }}...
Well i want to use a variable instead of the chain
in this example i use a chain " 955869701"
#!/bin/sh
awk '{$6 == "955869701"; {print $0}}'
but imagine that i don't know the chain in order to be able to regroup all the chains that are equal to obtain a result like this
udp/rtp 160 c8...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.