@Graeme OK let's start again, I want to test **bash pattern** against anything, file content, command output. By bash pattern I mean the pattern like ls a* to list every files/directory that start with an a in the current dirrectory,.
is there any possibilities to to do such a thing ?