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


Groups > comp.os.linux.advocacy > #269025

Re: The count so far...

From owl <owl@rooftop.invalid>
Newsgroups comp.os.linux.advocacy
Subject Re: The count so far...
Date 2014-11-25 19:26 +0000
Organization ok by me, so long as it doesn't get out of hand
Message-ID <bcre9jr.gj3@rooftop.invalid> (permalink)
References <5474c8d3$0$30778$b1db1813$e2fc9064@news.astraweb.com> <ghu03.a3p3f@rooftop.invalid> <5474d5a9$0$46939$c3e8da3$aae71a0a@news.astraweb.com>

Show all headers | View raw


vallor <vallor@cultnix.org> wrote:
> On 11/25/2014 11:07 AM, owl wrote:
>> vallor <vallor@cultnix.org> wrote:
>>> Today's posts so far...
>> 
>>> $ headgrep.pl '^From:' `headgrep.pl -l '25 Nov 2014' * | cut -d\| -f1 |
>>> sort -nu` | cut -d: -f2 | sort | uniq -c | sort -rn
>>>      36  Sir Slimer <slvrslmr@lv.c>
>>>      34  Melzzzzz <mel@zzzzz.com>
>>>      24  "Ezekiel" <zeke@nosuchemail.com>
>>>      20  Snit <usenet@gallopinginsanity.com>
>>>      14  =?us-ascii?Q?=09flatfish+++?= <phlatphish@yahoo.com>
>>>      14  Steve Carroll <fretwizzer@gmail.com>
>>>      14  Chris Ahlstrom <OFeem1987@teleworm.us>
>>>      10  DFS <nospam@dfs.com>
>>>       9  owl <owl@rooftop.invalid>
>>>       7  chrisv <chrisv@nospam.invalid>
>>>       6  William Poaster <wp@dev.null>
>>>       5  -hh <recscuba_google@huntzinger.com>
>>>       4  vallor <vallor@cultnix.org>
>>>       4  Peter =?UTF-8?B?S8O2aGxtYW5u?= <peter-koehlmann@t-online.de>
>>>       4  JEDIDIAH <jedi@nomad.mishnet>
>>>       3  John Gohde <john.h.gohde@gmail.com>
>>>       3  Bud Frede <frede@mouse-potato.com>
>>>       2  Marti van Lin <ml2mst@dontevenbother.invalid>
>>>       1  WaRmNfUzZy <warmnfuzzi@muzzimail.net>
>>>       1  Tattoo Vampire <sitting@this.computer>
>>>       1  MICHELE CALZOLARI CREDIT SUISSE ASSOSIM
>>> <gianniboncompagni@mail.com>
>> 
>>> Some people is cray-cray.
>> 
>> If you have to feed all that to your script, what's the point of scripting? 
>> 

> I just put the whole thing into a script called "newstally.sh".
> (Starting out with a command line is how a lot of Unix shell programmers
> start their scripts.)

Do tell.

> $ cat newstally.sh
> #!/bin/sh

> usage() {
> echo "Usage: $0 'dd mmm yyyy'
> Example: $0 '25 Nov 2014'
> " 1>&2
> exit 1
> }

> if [ -z "$1" ]
> then
> usage
> fi


> headgrep.pl '^From:' `headgrep.pl -l "$1" * | cut -d\| -f1 | sort -nu` \
>   | cut -d: -f2 \
>   | sort \
>   | uniq -c \
>   | sort -rn

Still looks like headgrep.pl is not finished if you have to feed that much,
and recursively at that, unless it does so little (something with head and
grep?) that, given the rest, what's the point of scripting it.

Back to comp.os.linux.advocacy | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

The count so far... vallor <vallor@cultnix.org> - 2014-11-25 10:22 -0800
  Re: The count so far... 	flatfish+++ <phlatphish@yahoo.com> - 2014-11-25 13:35 -0500
  Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-25 11:41 -0700
    Re: The count so far... Slimer <slvrslmr@lv.c> - 2014-11-26 10:13 -0500
      Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 11:32 -0500
        Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-26 09:40 -0700
  Re: The count so far... owl <owl@rooftop.invalid> - 2014-11-25 19:07 +0000
    Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-25 11:16 -0800
      Re: The count so far... owl <owl@rooftop.invalid> - 2014-11-25 19:26 +0000
  Re: The count so far... DFS <nospam@dfs.com> - 2014-11-25 16:13 -0500
    Re: The count so far... owl <owl@rooftop.invalid> - 2014-11-25 21:57 +0000
      Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-25 18:18 -0800
    Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-25 18:10 -0800
      Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-25 19:34 -0700
      Re: The count so far... DFS <nospam@dfs.com> - 2014-11-25 22:18 -0500
        Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-25 20:43 -0700
        Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-25 19:53 -0800
          Re: The count so far... owl <owl@rooftop.invalid> - 2014-11-26 04:19 +0000
        Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 07:24 -0500
  Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-25 19:56 -0800
    Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 07:24 -0500
      Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-26 04:59 -0800
        Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 08:03 -0500
          Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-26 05:26 -0800
            Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 09:15 -0500
          Re: The count so far... Slimer <slvrslmr@lv.c> - 2014-11-26 13:36 -0500
            Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 13:51 -0500
              Re: The count so far... Slimer <slvrslmr@lv.c> - 2014-11-26 14:01 -0500
                Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-26 12:21 -0700
              Re: The count so far... Snit <usenet@gallopinginsanity.com> - 2014-11-26 12:08 -0700
        Re: The count so far... William Poaster <wp@dev.null> - 2014-11-26 13:10 +0000
        Re: The count so far... chrisv <chrisv@nospam.invalid> - 2014-11-26 07:21 -0600
          Re: The count so far... owl <owl@rooftop.invalid> - 2014-11-26 13:56 +0000
            Re: The count so far... DFS <nospam@dfs.com> - 2014-11-26 09:11 -0500
          Re: The count so far... Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-11-26 11:10 -0500
        Re: The count so far... Tattoo Vampire <sitting@this.computer> - 2014-11-26 13:24 +0000
        Re: The count so far... Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-11-26 11:08 -0500
          "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole chrisv <chrisv@nospam.invalid> - 2014-11-26 10:46 -0600
            Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole 	flatfish+++ <phlatphish@yahoo.com> - 2014-11-26 11:52 -0500
              Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 12:56 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Slimer <slvrslmr@lv.c> - 2014-11-26 13:46 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 13:57 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Slimer <slvrslmr@lv.c> - 2014-11-26 14:03 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 14:06 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Slimer <slvrslmr@lv.c> - 2014-11-26 14:19 -0500
                Silver Slimer busted as a snit sock puppet. WaRmNfUzZy <warmnfuzzi@muzzimail.net> - 2014-11-26 14:58 -0500
                Re: Silver Slimer busted as a snit sock puppet. Slimer <slvrslmr@lv.c> - 2014-11-26 17:09 -0500
                Re: Silver Slimer busted as a snit sock puppet. Snit <usenet@gallopinginsanity.com> - 2014-11-26 15:43 -0700
              Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole DFS <nospam@dfs.com> - 2014-11-26 13:30 -0500
            Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Melzzzzz <mel@zzzzz.com> - 2014-11-26 18:40 +0100
              Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 12:59 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Melzzzzz <mel@zzzzz.com> - 2014-11-26 19:29 +0100
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 13:47 -0500
                Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Melzzzzz <mel@zzzzz.com> - 2014-11-26 21:05 +0100
            Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Snit <usenet@gallopinginsanity.com> - 2014-11-26 10:59 -0700
            Re: "Ezekiel":  Pervert, Liar, Ignoramous, Hypocrite, Bigot, Idiot, Asshole Nobody <nobody@invalid.com> - 2014-11-27 12:41 -0600
          Re: The count so far... vallor <vallor@cultnix.org> - 2014-11-26 12:03 -0800
            Re: The count so far... Melzzzzz <mel@zzzzz.com> - 2014-11-26 21:13 +0100
            Re: The count so far... Slimer <slvrslmr@lv.c> - 2014-11-26 17:10 -0500
            Re: The count so far... DFS <nospam@dfs.com> - 2014-11-26 21:07 -0500
            Re: The count so far... Chris Ahlstrom <OFeem1987@teleworm.us> - 2014-11-27 06:41 -0500
    Re: The count so far... DFS <nospam@dfs.com> - 2014-11-26 09:01 -0500
      Re: The count so far... "Ezekiel" <zeke@nosuchemail.com> - 2014-11-26 09:26 -0500
  Scott·Doty  Ezekiel  Hugh·Huntzinger  DFS  Jeff-Relf.Me <@.> - 2014-11-26 13:20 -0800

csiph-web