Paradox Community

Items in pnews.paradox-development

Subject:Searching for text inside libraries, form, scripts and reports
Date:Fri, 14 Aug 2020 08:08:05 -0500
From:Mark Bannister <markRemove@THISinjection-moldings.com>
Newsgroups:pnews.paradox-development
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