From 3214979626dbb21ec43f1040a21f7b7ec0e55b82 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Wed, 15 Oct 2025 19:04:55 -0400 Subject: get newplan.tsv --- makeplan.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'makeplan.sh') diff --git a/makeplan.sh b/makeplan.sh index 71d1acb..8a0637d 100644 --- a/makeplan.sh +++ b/makeplan.sh @@ -1,11 +1,12 @@ #!/bin/sh -day=$(date +%j) -echo "# Day $day/365" +day=$(date +'%j') +day_human=$(date +'%B %d') +echo "# Reading for $day_human" -ot="$(grep "^$day" "$1" | cut -f2)" -nt="$(grep "^$day" "$1" | cut -f3)" -ps="$(grep "^$day" "$1" | cut -f4)" -pr="$(grep "^$day" "$1" | cut -f5)" +nt="$(grep "^$day_human" "$1" | cut -f3)" +ot="$(grep "^$day_human" "$1" | cut -f2)" +ps="$(grep "^$day_human" "$1" | cut -f4)" +pr="$(grep "^$day_human" "$1" | cut -f5)" if [ -e /srv/gemini/gemini.zachdecook.com/oyb/$day.mp3 ]; then echo "=> /oyb/$day.mp3 Listen to today's reading by Zach!" -- cgit 1.4.1