🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #11498

Re: The Latest Updates To cica.cica.indiana.edu

#11498
From: Rolf Michelsen
Date: Fri, 03 May 1991 06:46
36 lines
1755 bytes
I hacked together a small AWK script to list out any new entries from the Cica
list. I did this without noticing Otto's post, but I post this one since it 
takes a slightly different aproach and doesen't require a Unix csh. The output
isn't to well formattet, but take this as a 15 min hack to be worked on if you
have the time :-)

You use it in this way:
    AWK -f newcica.awk date=910501 cica.lst
This will read the script (assumed to be stored as newcica.awk) and output
all programs with dates on or later than 1st of May. The list is assumed to
be in the file cica.lst.

This is the script:

# AWK script to display recent changes in the cica index file
# Usage: awk -f newcica.awk date=yymmdd index

{
    if ($0 ~ /^\*\*/)
        print $0
    else if ($2 >= date)
        print $0
}

Short enough???

    ___________________  
   /                   | 
  / Snail-Mail:        | 
 /   Rolf Michelsen    |
/    Studpost 130      |
\    7034 Trondheim-NTH|
 \  E-Mail:            |
  \  rmich@lise.unit.no|
   \___________________| 
Technical Details
Message-ID: <1991May3.064609.10366@ugle.unit.no>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!lise.unit.no!rmich
References: <32486@usc> <1991May1.213326.24322@bronze.ucs.indiana.edu> <OTTO.91May2180024@tukki.jyu.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!ugle.unit.no!lise.unit.no!rmich
From: rmich@Lise.Unit.NO (Rolf Michelsen)
Newsgroups: comp.windows.ms
Subject: Re: The Latest Updates To cica.cica.indiana.edu
Message-ID: <1991May3.064609.10366@ugle.unit.no>
Date: 3 May 91 06:46:09 GMT
Article-I.D.: ugle.1991May3.064609.10366
References: <32486@usc> <1991May1.213326.24322@bronze.ucs.indiana.edu> <OTTO.91May2180024@tukki.jyu.fi>
Sender: news@ugle.unit.no
Reply-To: rmich@Lise.Unit.NO (Rolf Michelsen)
Organization: Norwegian Institute of Technology
Lines: 36