03-12-2008
39,
0
Join Date: Feb 2008
Last Activity: 1 August 2009, 8:57 AM EDT
Posts: 39
Thanks Given: 0
Thanked 0 Times in 0 Posts
Can you help me guys?
Dear All
I have a group of patterns which look like this :
2 20080223_15:12:15.259 ISC-Libya BritishTelecom2 104 IAM 20104016641 218925164479 b 3330 ACM b 3337 ANM f 78309 REL b 78520 RLC :COMMA: NCI=10,FCI=2001,CPC=0A,TMR=00,USI: :COMMB: BCI=0434,OBI=01: :RELCAUSE:10:
I want a script that check two conditions in the same time:
1- Check if $14== "ANM"
if this condition is applied then it subtracts $13- $10 if the result is less than or equal 800 then it prints the whole line.
I want the output which will be large number of lines to be directed to a separate file.
Please i want it using AWK
So please can anyone write me this script
Regards
Zanetti