Open
Description
Define behavior of globstar (**)
Bash supports:
- stand-alone
**
, behaves like*/**
- a prefix
d**
, behaves liked*/**
- a suffix
**c
, behaves like*c/**
- a prefix and suffix
d**c
, behaves liked*c/**
From bash manual
* Matches any string, including the null string. When the globstar shell option is enabled, and * is used in a pathname expansion context, two adjacent *s used as a single pattern will match all files and zero or
more directories and subdirectories. If followed by a /, two adjacent *s will match only directories and subdirectories.