summaryrefslogtreecommitdiff
path: root/lib/gemfeed.source.sh
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-03-15 00:06:25 +0200
committerPaul Buetow <paul@buetow.org>2023-03-15 00:06:25 +0200
commit365a195cc0362bfeb52ebc0e9cb958b0b455aac4 (patch)
treeb8357b1a1122953e66ba37421b017180d1ac50a5 /lib/gemfeed.source.sh
parent06310ae8a5649bb41f32d1c752f369dc5e077ee1 (diff)
initial templating support
Diffstat (limited to 'lib/gemfeed.source.sh')
-rw-r--r--lib/gemfeed.source.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gemfeed.source.sh b/lib/gemfeed.source.sh
index a0c0b09..d888866 100644
--- a/lib/gemfeed.source.sh
+++ b/lib/gemfeed.source.sh
@@ -24,7 +24,7 @@ gemfeed::updatemainindex () {
gemfeed::_get_word_count () {
local -r gmi_file="$1"; shift
- sed '/^```/,/^```/d' "$gmi_file" | wc -w | cut -d' ' -f1
+ $SED '/^```/,/^```/d' "$gmi_file" | wc -w | cut -d' ' -f1
}
# Generate a index.gmi in the ./gemfeed subdir.