#!/bin/bash count=1 rm /home/httpd/html/news/opensource/* export pubdate=`date "+%d %B %Y"` for item in `find /home/opensource -follow -type f -name ABOUT -print | sed -e 's/^\.\///' -e 's/\/ABOUT//' | sort -r` do # If the item is not marked private if [ ! -e $item/PRIVATE ] then echo $item export project=`echo $item | sed 's/\/home\/opensource\///'` export description=`cat $item/ABOUT` subst < /home/opensource/cvstools/template > /tmp/$$ mv /tmp/$$ /home/httpd/html/news/opensource/`printf "%06d" $count` count=$(( $count + 1 )) fi done export project="Summary" export description="This is a summary of the projects on this page: