#!/bin/bash set -e cd "$(dirname "$(readlink -f "$BASH_SOURCE")")" repo="$1" if [ -z "$repo" ]; then echo >&2 'error: no repo specified' cat >&2 < README.md] ie: $0 php > ../php/README.md This script generates a stub README to standard out for the specified repo. EOUSAGE exit 1 fi gitRepo='https://github.com/docker-library/docs' hubPage="https://registry.hub.docker.com/_/$repo/" cat <