lwaldron.cc/mkpage.sh
2025-03-22 12:04:23 -04:00

15 lines
183 B
Bash
Executable File

#!/bin/sh
usage() {
printf "usage: ${0} NEW_PAGE_NAME\n"
}
if [ "${1}" == "" ]; then
usage "$@"
exit 1
fi
printf "Creating new page...\n"
cp -v templ.html ${1}
printf "Done.\n"