× 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.



Thanks for the link David.  I had forgot all about the -exec
option on the FIND command.  Boy have I got a lot to learn.....

Terry

> -----Original Message-----
> From: David Morris [mailto:David.Morris@plumcreek.com]
> Sent: Friday, April 05, 2002 8:32 AM
> To: midrange-l@midrange.com
> Subject: RE: Need to scan files
>
>
> Rob and Others,
>
> Midrange Guru ran an tip on find and grep a while
> back, the URL is:
>
> http://www.midrangeserver.com/guruo/guruo011102.html
>
> The following should work:
>
> find /QSYS.LIB/MYLIB.LIB/Q*.FILE -exec grep 'searchstring' {} \;
>
> Be aware that you will run many jobs doing
> this so you might read:
>
> http://www.midrangeserver.com/guruo/mgo022202-story01.html
>
> David Morris
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.