You could, but regexps are unlikely to work - find(1) uses glob-style
wildcards ("special shell pattern matching characters") when matching names

On Mon, 18 Aug 2025 at 08:11, Gavin Reade <grea...@gmail.com> wrote:

> You need to learn BSD/ Unix regeps. Then you can issue a " find /dir -name
> "filetype""
> Regards,
> Gavin.
>
>
> On Mon, Aug 18, 2025 at 2:34 PM Steffen Nurpmeso <stef...@sdaoden.eu>
> wrote:
>
>> Rocky Hotas wrote in
>>  <ohia4ya7oebekjqmlc472k37y64jtyyqvty2rraej4rqtakgpj@v3bk4m5vki2r>:
>>  |On ago 16 16:48, Steffen Nurpmeso wrote:
>>  |>
>>  |> But that -ls is BSD only.
>>  |
>>  |There's such an option also in GNU find and its output has the same
>>  |fields in the same order. But it's not mandatory for POSIX, actually,
>>
>> True.  Not in busybox find though.  (I try compat with this much
>> smaller thing if possible, and look there first.)
>>
>>  |or at least it is not mentioned here:
>>  |
>>  | <https://pubs.opengroup.org/onlinepubs/9799919799/utilities/find.html>
>>  |
>>  |Thanks for noticing this.
>>  |
>>  |Being supported by both GNU and BSD, it is however widely available
>>  |and it may be enough.
>>
>> The -perm / thing is not in NetBSD for sure..
>>
>>  |Rocky
>>  --End of <ohia4ya7oebekjqmlc472k37y64jtyyqvty2rraej4rqtakgpj@v3bk4m5vki2r
>> >
>>
>> --steffen
>> |
>> |Der Kragenbaer,                The moon bear,
>> |der holt sich munter           he cheerfully and one by one
>> |einen nach dem anderen runter  wa.ks himself off
>> |(By Robert Gernhardt)
>>
>

Reply via email to