From 731861917b7fb0ede8399cd434b9abf9b4790198 Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Sat, 1 Aug 2026 17:19:09 -0500 Subject: [PATCH 1/1] Fix for bash octal assumption --- bin/daily | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/daily b/bin/daily index 84456cb..9618c31 100755 --- a/bin/daily +++ b/bin/daily @@ -5,7 +5,8 @@ year=`date +%Y` topic='daily' mkdir -p "$HOME/Journal/$year" -fname=$(printf "$HOME/Journal/$year/%02d-$topic.md" $(date +%m)) +month=`date +%m` +fname="$HOME/Journal/$year/$month-$topic.md" if [ -z ${EDITOR} ]; then echo "EDITOR unset, defaulting to Nano" -- 2.47.3