#!/usr/bin/env bash set -ueo pipefail # A script to generate README.sh close to as it done in https://github.com/docker-library/docs WORKDIR=$(dirname "$0") SCRIPT_NAME=$(basename "$0") CONTENT=README.src/content.md LICENSE=README.src/license.md cd "$WORKDIR" R=README.md cat > "$R" < EOD cat "$CONTENT" >> "$R" cat >> "$R" <