#!/bin/bash . /etc/sysconfig/openmamba-central TEMPFILE=`mktemp` DEST_FILE=$local_ftp/devel/developers-status.inc > $TEMPFILE for a in ${local_reps[*]} ${remote_reps[*]}; do [ -e $local_ftp/$a/home/developer-status.inc ] && { DATE_UNIX=`date -r $local_ftp/$a/home/developer-status.inc +%s` DATE_HUMAN=`date -r $local_ftp/$a/home/developer-status.inc +%c` TEXT=`cat $local_ftp/$a/home/developer-status.inc` [ "$TEXT" ] || continue TEXT=`echo $TEXT|sed "s|<[^<]*>||g"` echo -n "${DATE_UNIX} " >> $TEMPFILE echo -n "