As you know, Google is very smart with searches, while the best search terminal tool I have ever seen just allows you to search with regexes.

Is there a tool to search text more like a search engine? Can I use a script to use Google (or another web service) to do this?

The use-case I have in mind is searching a big man page like zshall for relevant info.

closed as too broad by glenn jackman, RalfFriedl, Fabby, maxschlepzig, n.st Nov 24 '18 at 13:09

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    You can search man pages while you're reading them. Press / then type a word and press enter. – kevlinux Nov 22 '18 at 21:57
  • 1
    @kevlinux I know that, but that doesn’t work out well when you don’t know the exact phrasing. – HappyFace Nov 22 '18 at 22:03
  • 1
    @HappyFace It's up to you to have an idea of what you're looking for no matter what method you're using. You can use / to search for regular expressions in the same way that you can with grep including case-insensitive searches. You can aso can pipe a man page into grep. – Nasir Riley Nov 22 '18 at 22:21
  • 1
    I don't have a particular answer, but you might want to look up the topic of desktop search engines. Also, there is a FOSS search engine called YaCy, which (IIRC) can be run locally just on your own files: yacy.net/en – cryptarch Nov 22 '18 at 22:40
  • 5
    You didn't explain which Google-style features you are looking for, I assume suggested queries and automatic corrections/fuzzy matching? In a search engine like Google, these features partially rely on (1) previous users requests (for sorting by popularity), and (2) massive preprocessing (and storage) of data. this is why these features are not easily reproducible on a regular system. – Erwan Nov 23 '18 at 0:44