On 12/10/18 at 7:26 AM, [email protected] (Philippe Carly) wrote:

More specifically, I have a directory which contains a large number of subdirectories, each containing (among other things) a fileinfo.php file. I now that this fileinfo.php should have N lines. And I am trying to locate files that have more or less than N lines to search for potential problems.

If I am understand your description correctly, something like this should work:

-   search for:

    ^.*?\n{XXX} -- replace the "XXX" with the desired number of lines

-   turn on "Exclude Matches"

-   run your multi-file search.

This will return all files that don't have XXX lines in them.

You can add a file filter to only search "fileinfo.php" files to further narrow things down.

R.
--
Rich Siegel                                 Bare Bones Software, Inc.
<[email protected]>                      <http://www.barebones.com/>

Someday I'll look back on all this and laugh... until they sedate me.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to