From ff340e40d839a53cd6b7da90e36bf3c4879bdd85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Tue, 30 Jan 2024 13:21:58 +0100 Subject: [PATCH] Working on _blog_idx_for_index --- qsgen2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qsgen2 b/qsgen2 index c882ea2..cf2f229 100755 --- a/qsgen2 +++ b/qsgen2 @@ -554,7 +554,7 @@ function _blog_idx_for_index() { URL:*) url=${component#URL: } ;; - local adate=( ${sdate} ) + local adate=( $( echo ${sdate} ) ) local bdate="${adate[1]} - ${adate[4]}/${adate[3]}/${adate[2]}" local blog_list_content=$(echo "${blog_list}" | perl -pe "s|BLOGURL|${url}|g") blog_list_content=$(echo "${blog_list_content}" | perl -pe "s|BLOGTITLE|${btitle}|g")