summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-08-16 07:56:41 +0100
committerPaul Buetow <paul@buetow.org>2022-08-16 07:56:41 +0100
commit34c7954565eadf7949d13e04a86c19be017ef17b (patch)
treeb7ffb3199ac73c25cb24ee4e591560a3cb04e4b1
parentf5405ca41a2af1a621b263c8d58750685d83ab05 (diff)
fix for macOS1.1.0
-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 0d9f2f9..aee70d3 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
}
# Generate a index.gmi in the ./gemfeed subdir.