#!/bin/sh set -u ## diese Seiten aus dem Wiki ziehen und entschlacken SITES="CryptoBox CryptoBoxDev" DEST_PATH="cryptobox.conf.d/var/www/userdoc/" [ ! -e $DEST_PATH ] && echo "$DEST_PATH does not exist" && exit for SITE in $SITES; do SITE_SRC="https://systemausfall.org/wikis/howto/$SITE" SITE_TMP="/tmp/$SITE" SITE_DEST="${DEST_PATH}${SITE}.html" [ -e $SITE_TMP ] && echo "$SITE_TMP exists" && exit wget -O $SITE_TMP $SITE_SRC || exit sed -n "1,/\