From 406bdada3aa498d773105748a87925340b28b5ee Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 20 Apr 2023 17:26:46 +0200 Subject: ideas --- .local/bin/idea | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/idea b/.local/bin/idea index 0b12494..f97e8f7 100755 --- a/.local/bin/idea +++ b/.local/bin/idea @@ -17,7 +17,7 @@ html_fmt='\t\t\t\t

'"${date}"'

\ ' rss_fmt='\\t\ \t '"${date}"'\ -\t '"${date_rss}"'\ +\t '"${date} $(date '+%Z')"'\ \t http://jozan.org/thoughts.html\ \t '"$(uuidgen)"'\ \t '"${thought}"'\ @@ -31,10 +31,10 @@ esac $sed -e '/<\/channel>/i '"${rss_fmt}" \ "$HOME"/dev/web/joe-www/thoughts.xml -#$sed -e '/$/{n;s#^#'"${html_fmt}"'#;}' \ -# "$HOME"/dev/web/joe-www/thoughts.html -#git -C "$HOME"/dev/web/joe-www add -u -#git -C "$HOME"/dev/web/joe-www commit -m "Thought: ${date}" -#git -C "$HOME"/dev/web/joe-www push -# -#vps +$sed -e '/$/{n;s#^#'"${html_fmt}"'#;}' \ + "$HOME"/dev/web/joe-www/thoughts.html +git -C "$HOME"/dev/web/joe-www add -u +git -C "$HOME"/dev/web/joe-www commit -m "Thought: ${date}" +git -C "$HOME"/dev/web/joe-www push + +vps -- cgit v1.2.3