From 6788843cb7126fa8b4aa41449d12021a7fc42f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Sun, 17 Dec 2017 15:10:46 +0100 Subject: [PATCH 1/4] s: add page s is a websearch CLI. https://github.com/zquestz/s --- pages/common/s.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/s.md diff --git a/pages/common/s.md b/pages/common/s.md new file mode 100644 index 0000000000..88a8df2108 --- /dev/null +++ b/pages/common/s.md @@ -0,0 +1,19 @@ +# s + +> Web search from the terminal. + +- Search for query on Google(default provider). + +`s {{query}}` + +- Search for a query on provider: + +`s --provider {{provider}} {{query}}` + +- List all providers: + +`s --list-providers` + +- Search for query in binary: + +`s --binary "{{binary}}" {{query}}` From 6f55d7de059441f420fd4b5c2e4bd5a6b0695b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Sun, 17 Dec 2017 15:14:09 +0100 Subject: [PATCH 2/4] s: correct ending of description to colon --- pages/common/s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/s.md b/pages/common/s.md index 88a8df2108..939bd0ccfe 100644 --- a/pages/common/s.md +++ b/pages/common/s.md @@ -2,7 +2,7 @@ > Web search from the terminal. -- Search for query on Google(default provider). +- Search for query on Google(default provider): `s {{query}}` From d7a5ab5564383fcd324316e42f288665f299222c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Mon, 18 Dec 2017 06:55:59 +0100 Subject: [PATCH 3/4] s: use clearer wording and andjust order of exmaples --- pages/common/s.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/common/s.md b/pages/common/s.md index 939bd0ccfe..926302dd4e 100644 --- a/pages/common/s.md +++ b/pages/common/s.md @@ -2,18 +2,18 @@ > Web search from the terminal. -- Search for query on Google(default provider): +- Search for a query on Google(default provider): `s {{query}}` -- Search for a query on provider: - -`s --provider {{provider}} {{query}}` - - List all providers: `s --list-providers` -- Search for query in binary: +- Search for a query with a given provider: -`s --binary "{{binary}}" {{query}}` +`s --provider {{provider}} {{query}}` + +- Use a specified binary to perform the search query: + +`s --binary {{binary}} {{query}}` From 0cc322ea684d5c3f3d397ff104c729da5305a9d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Str=C3=BCbing?= Date: Mon, 18 Dec 2017 07:17:32 +0100 Subject: [PATCH 4/4] s: add arguments to binary example --- pages/common/s.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/s.md b/pages/common/s.md index 926302dd4e..3dec967946 100644 --- a/pages/common/s.md +++ b/pages/common/s.md @@ -16,4 +16,4 @@ - Use a specified binary to perform the search query: -`s --binary {{binary}} {{query}}` +`s --binary "{{binary}} {{arguments}}" {{query}}`