summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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.