Skip to content

find regex -iregex '.*\(authors\|contributors\).*' fails on BSDs #1093

@hyperupcall

Description

@hyperupcall

BTW, find . -mindepth 1 -maxdepth 1 -iregex '.*\(authors\|contributors\).*' seems broken in Mac. It doesn't show up the AUTHORS file:

~/git/git-extras(master ✗)14:47 find . -mindepth 1 -maxdepth 1 -iregex '.*\(authors\|contributors\).*' | head -n1
~/git/git-extras(master ✗)14:47 ls | grep -E 'authors|contributors' -i
AUTHORS

Originally posted by @spacewander in #1088 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions