#!/bin/bash if [ "${1}" != "" ]; then mkdir -p ${1} touch ${1}/{input,testinput} cp -n main.go.tmpl ${1}/main.go fi