From eac4027d33d26d6fd10f6f6072a6d22a76ee6cc8 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Mon, 28 Aug 2023 14:27:24 -0400 Subject: [PATCH] Add journal.sh header --- journal.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/journal.sh b/journal.sh index 903440f..111370f 100755 --- a/journal.sh +++ b/journal.sh @@ -1,5 +1,14 @@ #!/usr/bin/env zsh +# ==== +# journal.sh +# Manages a simple journaling system. +# +# Written for Mac +# +# Uses GNU coreutils, gdate, gsed, etc. +# ==== + set_dates() { nowtime=$(gdate "+%H:%M") || exit day=$(gdate "+%A" -d "$*") || exit