Pgoogle » History » Version 8
Per Amundsen, 02/16/2023 02:57 PM
| 1 | 1 | Per Amundsen | _Added in 1.5_ |
|---|---|---|---|
| 2 | |||
| 3 | 5 | Per Amundsen | */pgoogle [-nN] [-t] [-d] [window] <text>* |
| 4 | 1 | Per Amundsen | |
| 5 | Searches google for text and sends the output to current window or [window]. |
||
| 6 | |||
| 7 | 4 | Per Amundsen | _See also [[/google]]._ |
| 8 | |||
| 9 | 7 | Per Amundsen | _Switches can not be combined._ |
| 10 | |||
| 11 | 1 | Per Amundsen | *Switches* |
| 12 | |||
| 13 | 8 | Per Amundsen | table(ktable). |
| 14 | |*Switch*|*Description*| |
||
| 15 | | -t | Specifies a 'window' is defined. | |
||
| 16 | | -nN | Show N results. | |
||
| 17 | | -d | Search using "DuckDuckGo":https://ddg.co instead of Google. | |
||
| 18 | 1 | Per Amundsen | |
| 19 | *Parameters* |
||
| 20 | |||
| 21 | 8 | Per Amundsen | table(ktable). |
| 22 | |*Parameter*|*Description*| |
||
| 23 | | [window] | Window to show the result. | |
||
| 24 | | <text> | Text to search. | |
||
| 25 | 1 | Per Amundsen | |
| 26 | *Example* |
||
| 27 | |||
| 28 | <pre> |
||
| 29 | 4 | Per Amundsen | ; Search for 'Star Wars' and print 5 results. |
| 30 | 1 | Per Amundsen | /pgoogle -n5 Star wars |
| 31 | |||
| 32 | 4 | Per Amundsen | ; Search for 'Natalie Portman' and send the result to #channel. |
| 33 | 6 | Per Amundsen | /pgoogle -t #channel Natalie Portman |
| 34 | 1 | Per Amundsen | </pre> |