Paradox Community

Items in pnews.paradox-development

Subject:Re: Searching for text inside libraries, form, scripts and reports
Date:Wed, 26 Aug 2020 23:04:38 +0100
From:Roger Phil <roger@agent2000.co.uk>
Newsgroups:pnews.paradox-development
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
>


-- 
RogerD

-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Copyright © 2004 thedbcommunity.com