#!/bin/sh # lle [ -z "$1" ] && DT="today" || DT="$1" mkdir -p "$HOME/docs/wr/lle/$(date +%Y-%m -d "$DT")" wr "lle/$(date +%Y-%m -d "$DT")/L$(date --iso-8601 -d "$DT").txt"