From b0723c4bc8e7b23f8534cc209ab0a20ddcc257ed Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Fri, 30 Oct 2020 11:15:06 +0100 Subject: Added rot13 util --- generate-blog | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'generate-blog') diff --git a/generate-blog b/generate-blog index 6d3add1..6aaa1be 100755 --- a/generate-blog +++ b/generate-blog @@ -27,3 +27,11 @@ do echo "Generated article at $article_dst_path" done + +for util_path in utils/* +do + title=$(basename "$util_path") + util_dst_path="$util_path/index.html" + sed -i'' "// a\ +
  • $title
  • " index.html +done -- cgit