trunk
vilmibm 2022-05-21 05:19:40 +00:00
parent b5129139f5
commit 664053374a
4 changed files with 4 additions and 1 deletions

1
.gitignore vendored 100644
View File

@ -0,0 +1 @@
*.swp

View File

@ -6,6 +6,8 @@ pd=/usr/bin/pandoc
g=/bin/grep g=/bin/grep
tr=/usr/bin/tr tr=/usr/bin/tr
sed=/bin/sed sed=/bin/sed
sort=/usr/bin/sort
postDir=/home/vilmibm/blog/posts postDir=/home/vilmibm/blog/posts
htmlDir=/home/vilmibm/public_html/blog htmlDir=/home/vilmibm/public_html/blog
@ -39,7 +41,7 @@ echo >> $gopherIndex
echo "the gemblog of vilmibm as it were" > $geminiIndex echo "the gemblog of vilmibm as it were" > $geminiIndex
echo >> $geminiIndex echo >> $geminiIndex
for p in $(ls *.md) for p in $(ls *.md | $sort -r)
do do
pubdate=$($g "pubdate:" $p | $sed 's/pubdate: //') pubdate=$($g "pubdate:" $p | $sed 's/pubdate: //')
title=$($g "title:" $p | $sed 's/title: //') title=$($g "title:" $p | $sed 's/title: //')