From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] wiki's what's new?
Date: Mon, 22 Mar 2004 09:25:14 -0700 [thread overview]
Message-ID: <6fba570549e5f5817a701cbc58695f4f@plan9.ucalgary.ca> (raw)
In-Reply-To: <200403221520.i2MFKtac027727@adat.davidashen.net>
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
> what's_new/ is created with a script, isn't it? can the script be made available?
attached.
the script was heavily modified by rog, who made it much leaner and
faster.
andrey
[-- Attachment #2: wikicheck --]
[-- Type: text/plain, Size: 670 bytes --]
#!/bin/rc
rfork n
# plan9.bell-labs is EST
cp /adm/timezone/US_Eastern /env/timezone
page='what''s_new'
# get wiki connection
test -e /srv/wiki || srv 'net!plan9.bell-labs.com!wiki' wiki || exit
mount -c /srv/wiki /mnt/wiki
cd /mnt/wiki
lastupdate=`{sed '/^D/q' < /mnt/wiki/$page/current | sed -n 's,^D,,p'}
echo last update: `{date $lastupdate}
{
echo 'What''s New'
echo D$lastupdate
echo Amirtchov@ucalgary
echo Cwiki update script
echo
echo Recently changed wiki pages:
echo
ls -ltQ */current | awk '{printf("* %s %s %s [%s\n", $7, $8, $9, $10)}' | sed 's:/current$:]:'
# commit
echo -n
} > /mnt/wiki/new
rm /srv/wiki
next prev parent reply other threads:[~2004-03-22 16:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-22 15:20 David Tolpin
2004-03-22 16:25 ` andrey mirtchovski [this message]
2004-03-22 16:34 ` andrey mirtchovski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6fba570549e5f5817a701cbc58695f4f@plan9.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.ca \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).