Parsing a pattern argument
If an argument contains /*. then only the text before '/' is taken as the argument.
for example, if a/*.txt is the argument value given, then the command only takes 'a' as its argument.
use case: Filenames can't be globbed.