[CentOS] Text file manipulation in CentOS?

Wed May 12 08:22:28 UTC 2010
Dominik Zyla <gavroche at gavroche.pl>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100512/bdeebf93/attachment-0005.sig>