Origin and Evolution of the Globstar
mergify.com·4h·
Discuss: Hacker News
Flag this post

Discover how the double-asterisk recursive glob pattern evolved: from Zsh’s early 1990s innovation to Bash’s globstar and beyond, spreading into Python, Ruby, Git, and modern build tools.

If you have never met it, the double-asterisk ** is a globbing pattern that matches files and directories recursively through subdirectories, unlike a single * , which only matches within one directory. This recursive wildcard was not part of the original Unix wildcard set and is not standardized by POSIX. Instead, ** emerged as an extension introduced at different times in various shells and programming environments, each with slightly different behaviors.

While adding [global matching support to Mergify](https://docs.mergify.com/changelog/2025-10-31-new-glob-operator-for-conditions-in-th…

Similar Posts

Loading similar posts...