Re: Inquiry:How to compare two files but not in line-by-line basis?

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



From: hadi motamedi <motamedi24@xxxxxxxxx>
> Can you please do me favor and let me know if I can go further and try for advanced search like finding how many rows inside a file have data that does not start with a zero after the third comma ?

Something like:
  awk -F, ' { print $4 } ' | grep -v "^0" | wc -l
Use one command at a time to see how they work with each other (you might have to modify the grep a bit)...

JD


      
_______________________________________________
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