I don't quite understand this part. > > Thank you very much for your reply.Please find below a segment of the file: CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 9 State TK Bts 7 Bt 2 Tr (13 0x09) E1 (4 1 5) Tru (0 3 0) CallId 94 State TK Bts 7 Bt 1 Tr (8 0x0c) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (8 0x0c) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (8 0x0c) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (8 0x0c) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (8 0x0c) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (6 0x0f) E1 (7 0 15) Tru (0 0 2) CallId 94 State TK Bts 7 Bt 1 Tr (6 0x0f) E1 (7 0 15) Tru (0 0 2) CallId 92 State TK Bts 7 Bt 1 Tr (7 0x08) E1 (3 1 22) Tru (0 0 0) CallId 92 State TK Bts 7 Bt 1 Tr (7 0x08) E1 (3 1 22) Tru (0 0 0) CallId 92 State TK Bts 7 Bt 1 Tr (7 0x08) E1 (3 1 22) Tru (0 0 0) CallId 92 State TK Bts 7 Bt 1 Tr (7 0x08) E1 (3 1 22) Tru (0 0 0) CallId 92 State IH Bts 7 Bt 1 Tr (6 0x0a) E1 (3 1 22) Tru (0 0 0) CallId 92 State IH Bts 7 Bt 1 Tr (7 0x08) E1 (3 1 22) Tru (0 0 0) CallId 92 State CL Bts 7 Bt 1 Tr (6 0x0a) E1 (3 1 22) Tru (0 0 0) CallId 91 State TK Bts 5 Bt 1 Tr (4 0x0f) E1 (4 0 18) Tru (0 1 1) CallId 91 State TK Bts 5 Bt 1 Tr (4 0x0f) E1 (4 0 18) Tru (0 1 1) CallId 91 State TK Bts 5 Bt 1 Tr (4 0x0f) E1 (4 0 18) Tru (0 1 1) CallId 91 State TK Bts 5 Bt 1 Tr (4 0x0f) E1 (4 0 18) Tru (0 1 1) Your first comment on using 'awk' enabled me to find how many distinct 'CallId' exists in my log. For the second part, please imagine that I need to filter out that 'CallId' that have occured for say less than three times.Please help me on accomplishing the second part. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100511/9b8d0b09/attachment-0005.html>