advent-of-code/2018/setup_day.sh

9 lines
140 B
Bash
Executable File

#!/bin/sh
today=$(date +%d)
mkdir "$today"
cd "$today"
# this assumes that your puzzle input is already in your clipboard
xsel -b > input