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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help