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"
ow=1'>Reformat for use with EffuseJune McEnroe 2012-01-14Removed vimrcJune McEnroe 2012-01-08PineapplesJune McEnroe 2011-12-09Use smarttab in VIMJune McEnroe 2011-12-09I have no ideaJune McEnroe 2011-11-29Highlight column 80 in vimJune McEnroe 2011-11-29Changed terminal colors to use Tomorrow paletteJune McEnroe 2011-11-29Removed broken ZSH thingyJune McEnroe 2011-11-29Switched vim colorscheme to Tomorrow-NightJune McEnroe 2011-11-23Update updates to update updates more oftenJune McEnroe 2011-11-14Removed $machine to make room for larger kernel nameJune McEnroe 2011-11-13Added whitespace highlighting to Vim and fixed the first line of ConkyJune McEnroe 2011-09-24Refactored xinitrcJune McEnroe 2011-09-23Fixed user mounting permissions and stuffJune McEnroe 2011-09-19Use da.gd for external IP in conky and always on top using mousewheelJune McEnroe 2011-09-13Lock after 30 minutes instead of 10June McEnroe