From 63ebc08b3d102a512c3bfb4b6ba61d9004e30c58 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Wed, 8 Apr 2026 13:17:26 +0200 Subject: [PATCH] Djournal: fix title casing and remove silo prefix --- scripts/Djournal | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/Djournal b/scripts/Djournal index 25f9566..09093a0 100755 --- a/scripts/Djournal +++ b/scripts/Djournal @@ -79,15 +79,15 @@ BEGIN { switch($titleformat) { case full - title=`{echo $datefull | awk '{print tolower($0)}'} + title=$"datefull case date - title=`{echo $datefull | awk '{print tolower($1 " " $2 " " $3 " " $4)}'} + title=`{echo $datefull | awk '{print $1 " " $2 " " $3 " " $4}'} case day - title=`{echo $datefull | awk '{print tolower($1)}'} + title=`{echo $datefull | awk '{print $1}'} case year title=`{echo $datefull | awk '{print $4}'} case * - title=`{echo $datefull | awk '{print tolower($0)}'} + title=$"datefull } filtertitle=`{echo $datefull | awk '{print tolower($1 " " $2 " " $3 " " $4)}'} @@ -101,10 +101,10 @@ results=`{cat $mnt/index} # If no results, create new journal entry if(~ $#results 0) { if(! ~ $signature '') { - echo '''journal/:'$"title''' =='^$signature' journal' > $mnt/new + echo ''''$"title''' =='^$signature' journal' > $mnt/new } if not { - echo '''journal/:'$"title''' journal' > $mnt/new + echo ''''$"title''' journal' > $mnt/new } } if not Denote 'denote:'$results(1)