diff options
| author | Paul Buetow <paul@buetow.org> | 2022-08-16 07:56:41 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-08-16 07:56:41 +0100 |
| commit | 34c7954565eadf7949d13e04a86c19be017ef17b (patch) | |
| tree | b7ffb3199ac73c25cb24ee4e591560a3cb04e4b1 | |
| parent | f5405ca41a2af1a621b263c8d58750685d83ab05 (diff) | |
fix for macOS1.1.0
| -rw-r--r-- | lib/gemfeed.source.sh | 2 |
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. |
