Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #199261

Re: Bash count

From David Christensen <dpchrist@holgerdanske.com>
Newsgroups linux.debian.user
Subject Re: Bash count
Date 2018-08-23 03:40 +0200
Message-ID <wpMLn-6j1-7@gated-at.bofh.it> (permalink)
References <wpI54-3y3-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bash count Gokan Atmaca <linux.gokan@gmail.com> - 2018-08-22 22:40 +0200
  Re: Bash count Emmanuel Gelati <emi2fast@gmail.com> - 2018-08-22 22:50 +0200
  Re: Bash count Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-22 22:50 +0200
  Re: Bash count Gokan Atmaca <linux.gokan@gmail.com> - 2018-08-22 23:00 +0200
  Re: Bash count David Christensen <dpchrist@holgerdanske.com> - 2018-08-23 03:40 +0200
  Re: Bash count David Christensen <dpchrist@holgerdanske.com> - 2018-08-23 03:40 +0200

csiph-web