Re: Text file manipulation in CentOS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, May 12, 2010 at 05:20:58AM +0100, hadi motamedi wrote:
>     If I understand correctly, you can pipe your output to: `awk '{a=$1} {if
>     (a > 3)   print a}''. `a' is awk variable. `$1' is first column of awk
>     input so you probably need to change it.
> 
> 
> 
> Thank you for your message . Yes , you are right . I really need to filter out
> that CallId with number of occurances say less than three. But your command is
> not getting through on my centos . Please correct me.

So, read `man awk', `man sed' etc, as John R. Dennison wrote. Also perl
would be excelent for this kind of stuff.

-- 
Dominik Zyla

Attachment: pgpFgGdp4SQph.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux