From 107d068ea14529fdec7d9c0183fb094dd39952a1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 30 Dec 2019 05:45:19 -0500 Subject: initial commit --- elvi/wikiquote | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100755 elvi/wikiquote (limited to 'elvi/wikiquote') diff --git a/elvi/wikiquote b/elvi/wikiquote new file mode 100755 index 0000000..6e91ffb --- /dev/null +++ b/elvi/wikiquote @@ -0,0 +1,48 @@ +#!/bin/sh + +# elvis: wikiquote -- Search literary/film quotations on wikiquote.org + +. surfraw || exit 1 + +default_lang="en" + +w3_config_hook() { + def SURFRAW_wikiquote_language "$SURFRAW_lang" +} + +w3_usage_hook() { + cat <