Home › Tag Archives › Church

grep in Windows 10, search the scriptures

When Windows 10 came out, there was functionality built into it to use a Linux command line. One of these commands is grep which stands for global regular expression. Basically, you enter in the phrase you want to search for and file or files you want to search and it will bring up a list of those files.

If you want to perform a search you would use the following syntax:

grep phrase_to_search_for folder/file_name

If you wanted to search for the phrase “one by one” from the Book of Mormon you would need to enter the command as follows:

grep 'one by one' BoM/*.*

You would get the following result: