x

Programs, configuration and documentation that don't fit anywhere else
Log | Files | Refs | README | LICENSE

ws.1 (832B)


      1 .Dd
      2 .Dt WS 1
      3 .Sh NAME
      4 .Nm ws
      5 .Nd web search
      6 .Sh SYNOPSIS
      7 .Nm
      8 .Ar query ...
      9 .Sh DESCRIPTION
     10 .Nm
     11 sends the query to a web search engine
     12 .Pq default DuckDuckGo
     13 and prints the results to the standard output.
     14 .Sh EXAMPLE
     15 .Pp
     16 Find the Plan 9 Foundation home page:
     17 .Dl ws Plan 9 foundation
     18 .Pp
     19 Search the web for motorcycle parts for
     20 Yamaha's discontinued dual-sport motorcycle:
     21 .Bd -literal -offset Ds
     22 ws '"wr250r parts"' Australia
     23 .Ed
     24 .Pp
     25 The first two keywords are quoted
     26 to include search results containing both
     27 .Dq wr250r
     28 and
     29 .Dq parts .
     30 This is again enclosed in single quotes to ensure
     31 .Xr sh 1
     32 does not interpret its own quote characters.
     33 .Sh EXIT STATUS
     34 .Ex
     35 .Sh SEE ALSO
     36 .Xr curl 1 ,
     37 .Xr awk 1 ,
     38 .Lk https://duckduckgo.com/duckduckgo-help-pages/features/non-javascript/ How To Use the Non-JavaScript Version of DuckDuckGo Search