summary refs log tree commit diff
path: root/home/.local/bin/wiki
blob: c430809816ab53092fbbb0fa26efdd7032b99750 (plain) (blame)
1
2
3
4
5
6
7
#!/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"
n any case the link to their patch is expired, so I wrote this. 2026-04-23Add dais from Left Hand of DarknessJune McEnroe I have not read it. This was contributed by the woman who made me install Real War: Not Fake. 2026-04-23Add y-d templateJune McEnroe 2026-03-23Replace tmppath pledge with rpath wpath cpathJune McEnroe 2026-03-23Add -ll for hilexJune McEnroe huh. should have always been there I guess, but now it actually matters, at least on OpenBSD? 2026-02-17Remove photo metadata directoriesJune McEnroe 2026-02-17Ignore photo metadataJune McEnroe I just don't want to be adding all this stuff to git. 2026-02-16Populate films datalist with 20 most recently usedJune McEnroe 2026-02-16Select last used bodyJune McEnroe 2026-02-15Don't break on trip with removed bodyJune McEnroe 2026-02-11Keep manpath.conf sortedJune McEnroe