×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
James
The QShell version of grep has the -l flag (dash-ell) - which is supposed to list only the files that match the search string. You don't need the packages, you just need QShell on your machine.
So you would use -rl instead of just -r - so far as I know from the documentations.
Good luck
Vern
On Wed, 8 Nov, 2023 at 3:28 PM, James H. H. Lampert via MIDRANGE-L <midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
To: midrange systems technical discussion
Cc: jamesl@xxxxxxxxxxxxxxxxx
On 11/8/23 12:51 PM, Jack Woehr wrote:
*grep -r "Mama told me not to come" .*
Tried something like that. It produced a torrential flood of output
(obviously I needed to use a more specific search string), but the
filenames didn't give any directory path, so even if my search string
had been sufficiently specific, I'd have no ideas where the hits
actually *are* in the IFS.
And looking at a man page on grep, nothing jumps out at me in terms of a
way to get entire paths.
--
JHHL
As an Amazon Associate we earn from qualifying purchases.