1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 19:02:09 +02:00
tldr/pages/common/surfraw.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

29 lines
774 B
Markdown

# surfraw
> Query a variety of web search engines.
> Consists of a collection of elvi, each of which knows how to search a 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}}"`