#!/bin/sh

if [ $# -lt 2 ]; then
    exit 1
fi

url='http://www.w3.org/2000/09/dbwg/details?group=39293&order=name&former=1'
xsl=generate-acknowledgements.xsl
un=$1
pw=$2

getack() {
    wget -q --http-user=$un --http-passwd=$pw -O - $url | xsltproc --stringparam participating $1 $xsl -
}

getack 1 > acknowledgements-current.txt
echo "Updated current ack"
echo
echo "Past members:"
getack 0
