How to delete specific lines at the same time

Dear All

I have a pattern which look like this:
2 20080312_10:55:35.800 Spain-Telefonica ISC 9 IAM 927535957 34670505334 f 275 COT b 700 ACM b 6577 CPG b 10726 ANM b 202195 REL f 202307 RLC :COMMA: NCI=15,FCI=2101,CPC=0A,TMR=00,USI,OFI=00: :COMMB: BCI=0214,OBI=01,ACT: :RELCAUSE:10:

This Pattern has number of fields = NF and at the same time there are large number of patterns like this.

What i want is a script that if it finds NF which is the number of fields greater than 30 it delets the whole pattern till $NF.

Some patterns are placed in a file named CDR.date1
Another files are placed in another file named CDR.date2
and so on.....

Please waiting reply
Zanetti

Please stop double post your question, continu here: