From da276ef06f5fff5b6732501e48a7925a70875dcc Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 20 Feb 2020 04:36:05 -0500 Subject: Remove wiki script Wikipedia seems to have removed the one-sentence extracts from the opensearch results. Too bad. It's not a wiki script, what we need is a command that fetches single-sentence summaries of articles on Wikipedia. --- home/.local/bin/wiki | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 home/.local/bin/wiki diff --git a/home/.local/bin/wiki b/home/.local/bin/wiki deleted file mode 100755 index c4308098..00000000 --- a/home/.local/bin/wiki +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh -set -eu - -curl -Gs 'https://en.wikipedia.org/w/api.php' \ - -d 'action=opensearch' --data-urlencode "search=$1" \ - | jq -r '.[2][]' \ - | sed -En "s/^([^ ]| [^i]| i[^s]| is[^ ])* is /It's not a $1, what we need is /p" -- cgit 1.4.1
summary refs log tree commit diff
path: root/bin/Makefile (unfollow)
Commit message (Expand)Author
2019-12-21Revert "Add first working version of imbox"June McEnroe
2019-12-21Add first working version of imboxJune McEnroe
2019-12-20Respect mailmap in gl pretty formatJune McEnroe
2019-12-20Set LANG in cgit filtersJune McEnroe
2019-12-20Source .editrc before applying -v or -eJune McEnroe
2019-12-20Disable signing commitsJune McEnroe
2019-12-19Ignore about-filterJune McEnroe
2019-12-19Fix matching make tags with no sourcesJune McEnroe
2019-12-19Avoid matching := assignments as tagsJune McEnroe
2019-12-18Hide line numbers when rendering mdocJune McEnroe
2019-12-18Customize cgit CSSJune McEnroe
2019-12-18Use :target rather than :focus pseudo-classJune McEnroe
2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe
2019-12-18Add git.causal.agency cgit configJune McEnroe
2019-12-18Bail from hi if input is binaryJune McEnroe
2019-12-16Post "cgit setup"June McEnroe