Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
I have downloaded all 3. Thank you!
Edit: Now all I need to do is brush up on the grep commands/options/features.
Edit: Now all I need to do is brush up on the grep commands/options/features.
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
If you use bash, there's a feature / bug to it. If you're an old fart like me and use korn shell then you're all set with the following:
grep -ie "Nazar" -ie "Capernaum" -ie "Galile" -ie "Judea" -ie "^Chapter" -ie "^BOOK" < BereanLiteral.txt > MyOutput.txt
e = element, i = ignore-case.
The bash thing is that you need an -a switch or something, it tends to treat some files as binary. Or there was something with full-words, I forgot
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
Linux nerds unite!
We rule!
Lhvw
We rule!
Lhvw
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
It works! Amazing. Thank you kindly!!! And I believe my Linux has the BASH Shell, and I didn't add the -a switch. As extracted two of the Bibles had spaces in their name, and I had to rename and kill the spaces.mlinssen wrote: ↑Mon Jan 31, 2022 12:40 am
If you use bash, there's a feature / bug to it. If you're an old fart like me and use korn shell then you're all set with the following:
grep -ie "Nazar" -ie "Capernaum" -ie "Galile" -ie "Judea" -ie "^Chapter" -ie "^BOOK" < BereanLiteral.txt > MyOutput.txt
e = element, i = ignore-case.
The bash thing is that you need an -a switch or something, it tends to treat some files as binary. Or there was something with full-words, I forgot
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
One small glitch:
For the ESV and WEB Bibles the book names all show up in a long list right at the top of the output file, and then the verses containing the search criteria show up without the benefit of knowing which book they came from.
For the ESV and WEB Bibles the book names all show up in a long list right at the top of the output file, and then the verses containing the search criteria show up without the benefit of knowing which book they came from.
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
I added the -a switch, and nothing changed...
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
OK, it's working. The book and chapter are there and each verse containing the search criteria is listed by book and then chapter just as it should. I must have been blind a bit earlier.
-
- Posts: 2107
- Joined: Thu Apr 03, 2014 8:13 am
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
That's good to hear. Yeah I created a VB executable for myself so the filenames don't matter
Please run a test though, I remember now: it is the characters following a word that matter. So
Jesus,
will not be found when looking for Jesus.
Anyway, enjoy the stats
Re: Lord / master / king / servant / slave / Rabbi / teacher in all of the NT - Matthew through Luke
What's your UI?Charles Wilson wrote: ↑Mon Jan 31, 2022 6:54 pmPCLOS!
Well over a decade of use.
Choice of Champions!!!
CW