#!/bin/bash -e if [ $# -lt 1 ]; then LICENSE=bsd else LICENSE=${1} fi YEAR=$(date '+%Y') NAME=$(git config user.name) EMAIL=$(git config user.email) if [ ${LICENSE} = bsd ]; then cat < Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO. EOF elif [ ${LICENSE} = tumbolia ]; then cat < Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. opan saurce LOL EOF fi