IFS=' ' . ./local.env echo '\n' > $DEST/rss.xml printf "\t\n" >> $DEST/rss.xml printf "\t\t$TITLE\n" >> $DEST/rss.xml printf "\t\t$LINK\n" >> $DEST/rss.xml printf "\t\t$DESC\n" >> $DEST/rss.xml printf "\t\ten-ca\n" >> $DEST/rss.xml printf "\t\n" >> $DEST/rss.xml for file in `find $SRC -type f -name "*.md"` do printf "\t\n" >> $DEST/rss.xml printf "\t\t`stat -f %Sm $file`\n" >> $DEST/rss.xml printf "\t\t`basename $file|sed s/.md//`\n" >> $DEST/rss.xml printf "\t\t$LINK/`basename $file|sed s/.md/.html/`\n" >> $DEST/rss.xml printf "\t\t`cat $file`" >> $DEST/rss.xml printf "\t\n" >> $DEST/rss.xml done echo "" >> $DEST/rss.xml