Paradox Community

Items in pnews.paradox-development

Subject:Re: Searching for text inside libraries, form, scripts and reports
Date:Thu, 27 Aug 2020 07:49:47 -0500
From:Mark Bannister <markRemove@THISinjection-moldings.com>
Newsgroups:pnews.paradox-development
I forgot it did that but this is very fast.

On 8/26/2020 5:04 PM, Roger Phil wrote:
> Mark I always use Vlad's VM pro view to do this.
> 
> 
> 
> Mark Bannister wrote:
>> I've posted this before but I use this many times a week when
>> developing.  If you have access to a Linux system (virtual machine will
>> work with access to your pdox data) or you run a Linux server then you
>> can use this command:
>>
>> find . -type f -name '*.*sl' -exec grep -li "TextToSearchFor" {} +
>>
>> It searches inside files using regular expressions.  In the above case
>> I'm searching in the current directory recursively, for all files ending
>> in .*sl; so all scripts, libraries, forms and reports.
>>
>> This is really handy when you are trying to find all code that
>> references a specific method name, etc.  Since pdox objects are mostly
>> text, it can also find every place you reference a table or alias in a
>> data model.
>>
>> -- 
>> Mark B
>>
> 
> 


Copyright © 2004 thedbcommunity.com