[PLUG] Advanced Linux SIG - 7PM Wednesday Oct 14th --"Linux Rocketry"

Russell Senior seniorr at aracnet.com
Fri Oct 17 18:12:02 UTC 2003


>>>>> "Zot" == Zot O'Connor <zot at whiteknighthackers.com> writes:

Zot> On Wed, 2003-10-15 at 00:16, AthlonRob wrote:
>> On Tue, 2003-10-14 at 22:14, Zot O'Connor wrote:
>> 
>> > Date: > Wednesday Oct 14th, 2003
>> 
>> I'm going to assume you typo'd and really meant Oct 15th...  :-)
>> 

Zot> I'm damn near 100% on my success rate for that.

Why isn't this being done by a cron job?  ... say, other than the
necessity to insert the speaker/topic details?  

Maybe you could have cron mail you a template with the repeating
stuff, WITH THE CORRECT DATE! :-), and then you can paste in the
variable stuff.  If you'll send me an address you will read on a
timely basis, I'll set this up myself!

I've already got a rough cut at the third-wednesday extractor:

  $ cal | tail -n +3 | cut -b 7-8 | awk '$1 > 0' | awk 'NR == 3'

or iteration 2:

  $ cal | awk 'NR > 2 && NF > 3 { week++ } week == 3 { print $(NF-3) }'

-- 
Russell Senior         ``shtal latta wos ba padre u prett tu nashtonfi
seniorr at aracnet.com      mrlosh''  -- Bashgali Kafir for ``If you have
                         had diarrhoea many days you will surely die.''




More information about the PLUG mailing list