#!/bin/sh working_directory=$(date +%Y-%m-%d) human_readable=$(date "+%d %b %Y") cd ~/annex/briefs/ mkdir "$working_directory" cd "$working_directory" cat > main.tex <> main.tex done cat >> main.tex <> main.tex done cat >> main.tex < notices.tex if [ -f notices.tex ]; then cat >> main.tex <> main.tex <