#!/bin/sh [ -n "$SLIDE" ] && SLIDE=-slide n="$1" cp ~/.local/share/template${SLIDE}.tex "$n"