mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(tlg-wotd)
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
${pkgs.curl}/bin/curl -sSL http://stephanus.tlg.uci.edu/Iris/Wotd \
|
${pkgs.curl}/bin/curl -sSL http://stephanus.tlg.uci.edu/Iris/Wotd \
|
||||||
| ${pkgs.recode}/bin/recode html..utf8 \
|
| ${pkgs.recode}/bin/recode html..utf8 \
|
||||||
| ${pkgs.jq}/bin/jq -r '
|
| ${pkgs.jq}/bin/jq -r '
|
||||||
"*\(.word)* '\'''\(.definition | rtrimstr(" "))'\'''\n\nFirst occurrence: \(.firstOccurrence)\nNumber of occurrences: \(.totalOccurrences)"
|
"*\(.word)* '\'''\(.definition | sub("<.*>"; "") | rtrimstr(" "))'\'''\n\nFirst occurrence: \(.firstOccurrence)\nNumber of occurrences: \(.totalOccurrences)"
|
||||||
'
|
'
|
||||||
'');
|
'');
|
||||||
parseMode = "Markdown";
|
parseMode = "Markdown";
|
||||||
|
|||||||
Reference in New Issue
Block a user