#!/bin/sh MODE="$1" TITLE="$2" FILE="$3" if [ "$MODE" = "images" ]; then DATAFILE="gipfelweb/gipfel/${FILE}.imgs" else DATAFILE="gipfelweb/gipfel/${FILE}.hills" fi cat << EOF EOF echo "$TITLE" cat << EOF