1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 17:26:01 +02:00

surfraw: add page (#4771)

This commit is contained in:
Quentin 2020-10-28 19:06:06 +01:00 committed by GitHub
parent dd423cd711
commit e2f4310506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

29
pages/common/surfraw.md Normal file
View file

@ -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: <http://surfraw.org>.
- 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}}"`