#!/bin/sh # echo a vimwiki diary link for the current day datestamp=$(date -I) printf '[[diary:%s]]' "$datestamp"