Skip to content

[BUG] Glob pattern that uses ** does not seem to work #1650

@timkgh

Description

@timkgh

Checks

  • I have read the troubleshooting section and still think this is a bug.

Describe the bug you encountered:

> fd -p foo.txt
bar/baz/foo.txt

> fd -p -g foo.txt
(no results) <-- ??

> fd -p -g '**/foo.txt'
bar/baz/foo.txt

> fd -p -g '/**/foo.txt'
bar/baz/foo.txt

> fd -p -g 'bar/**/foo.txt'
(no results) <-- ??

Are the two (no results) above supposed to work?

Describe what you expected to happen:

No response

What version of fd are you using?

fd 10.2.0

Which operating system / distribution are you on?

Darwin 23.6.0 arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions