What is a Linux terminal command to do a Proximity text search?
Search a directory, recursively, for files that contain :
2
words or more within
99
characters of each other
any order of above words.
example1:
search by : city and first name
Berlin
Bob
Above input finds a file with
Bob
Smith
123 Main Street Apt. 101
Berlin
Ohio USA 54321
Phone ...
email ...
Question -- inspired by:
example2 is working, on web page, not desired Local disk:
search for 2
words:
living
soul
https://www.biblegateway.com/quicksearch/?quicksearch=living+soul&resultspp=250&version=NIV
finds 4 verses
here is 1 quote in reverse order of 2
word input:
soul
living
Psalm 84:2
My soul
yearns, even faints, for the courts of the Lord;
my heart and my flesh cry out for the living
God.
Instead of above web page Proximity text search ...
What is a Linux terminal command to do a,
2
+ word,
Proximity text search on a Local disk?
using
OS: Kubuntu 22.04.4 LTS x86_64
to display above:
neofetch --stdout |grep 'OS:'
--