From e2f4310506ee1143b9b4e409e7528481d3ce8837 Mon Sep 17 00:00:00 2001 From: Quentin Date: Wed, 28 Oct 2020 19:06:06 +0100 Subject: [PATCH] surfraw: add page (#4771) --- pages/common/surfraw.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pages/common/surfraw.md diff --git a/pages/common/surfraw.md b/pages/common/surfraw.md new file mode 100644 index 0000000000..e6ae883943 --- /dev/null +++ b/pages/common/surfraw.md @@ -0,0 +1,29 @@ +# surfraw + +> CLI to query a variety of web search engines. +> Consists of a collection of elvi, each of which knows how to search a specific website. +> More information: . + +- Display the list of supported website search scripts (elvi): + +`surfraw -elvi` + +- Open the elvi's results page for a specific search in the browser: + +`surfraw {{elvi}} "{{search_terms}}"` + +- Display an elvi description and its specific options: + +`surfraw {{elvi}} -local-help` + +- Search using an elvi with specific options and open the results page in the browser: + +`surfraw {{elvi}} {{elvi_options}} "{{search_terms}}"` + +- Display the URL to the elvi's results page for a specific search: + +`surfraw -print {{elvi}} "{{search_terms}}"` + +- Search using the alias: + +`sr {{elvi}} "{{search_terms}}"`