projects
/
thefekete.net.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5977663
)
passes shellcheck
author
Daniel <thefekete@gmail.com>
Tue, 23 Jun 2020 23:31:54 +0000
(
01:31
+0200)
committer
Daniel <thefekete@gmail.com>
Tue, 23 Jun 2020 23:31:54 +0000
(
01:31
+0200)
bin/blog_index
patch
|
blob
|
history
diff --git
a/bin/blog_index
b/bin/blog_index
index
5ed27ea
..
823ac73
100755
(executable)
--- a/
bin/blog_index
+++ b/
bin/blog_index
@@
-1,8
+1,11
@@
#!/bin/sh
-echo -e "% Blog Index\n"
+echo "% Blog Index"
+echo
+# shellcheck disable=SC2045
for p in $(ls -r blog); do
title=$(head -n1 "blog/$p" | sed 's/^% //')
date="${p%%_*}"
- echo -e " * *${date}* [${title}](${p%.*}.html)\n"
+ echo " * *${date}* [${title}](${p%.*}.html)"
+ echo
done