How can I search a text file Google-style? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












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.










share|improve this question













closed as too broad by glenn jackman, RalfFriedl, Fabby, maxschlepzig, n.st Nov 24 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 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 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 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 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 at 0:44














up vote
1
down vote

favorite
1












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.










share|improve this question













closed as too broad by glenn jackman, RalfFriedl, Fabby, maxschlepzig, n.st Nov 24 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 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 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 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 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 at 0:44












up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





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.










share|improve this question













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.







linux shell text-processing search google






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 22 at 21:45









HappyFace

27111




27111




closed as too broad by glenn jackman, RalfFriedl, Fabby, maxschlepzig, n.st Nov 24 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.






closed as too broad by glenn jackman, RalfFriedl, Fabby, maxschlepzig, n.st Nov 24 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 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 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 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 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 at 0:44












  • 1




    You can search man pages while you're reading them. Press / then type a word and press enter.
    – kevlinux
    Nov 22 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 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 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 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 at 0:44







1




1




You can search man pages while you're reading them. Press / then type a word and press enter.
– kevlinux
Nov 22 at 21:57




You can search man pages while you're reading them. Press / then type a word and press enter.
– kevlinux
Nov 22 at 21:57




1




1




@kevlinux I know that, but that doesn’t work out well when you don’t know the exact phrasing.
– HappyFace
Nov 22 at 22:03




@kevlinux I know that, but that doesn’t work out well when you don’t know the exact phrasing.
– HappyFace
Nov 22 at 22:03




1




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 at 22:21





@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 at 22:21





1




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 at 22:40




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 at 22:40




5




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 at 0:44




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 at 0:44















active

oldest

votes






















active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?