https://docs.oracle.com/cd/E86824_01/html/E54769/gmatch-3gen.html
gmatch - man pages section 3: Extended Library Functions, Volume 2
gmatch - shell global pattern matching gmatch() checks whether the null-terminated string str matches the null-terminated pattern string pattern . See the sh...
man pagesextended librarygmatchsectionfunctions