I don’t know how to do it with BBEdit, but this shell command will
work:
`find /path/to/files -name fileinfo.php -exec sh -c 'test `cat {} | wc
-l` -ne N’ \; -print`
Replace `/path/to/files` with the path to your directory and `N` with
your “N”.
Hope this helps.
-sam
On 10 Dec 2018, at 7:26, Philippe Carly wrote:
I would like to find multiple files (I know how to do that)
that don' have a specific number of lines (this I don't know).
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.
thanks for your help.
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.