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

Re: Bash count



debian-user:

Please ignore previous post.


David



On 08/22/2018 01:33 PM, Gokan Atmaca wrote:
I have a list like the one below. I want to separate those bigger than 101. How
can this be done ?

     715 1.1.1.1
     322 2.2.2.2
     152 3.3.3.3
      61 4.4.4.4


2018-08-22 18:28:07 dpchrist@vstretch ~/sandbox/debian
$ cat gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3
 61 4.4.4.4

2018-08-22 18:28:12 dpchrist@vstretch ~/sandbox/debian
$ perl -ae 'print if 101 < $F[0]' gokan-atmaca-20180822-1333.txt
715 1.1.1.1
322 2.2.2.2
152 3.3.3.3


David


Reply to: