What should commands echo [:space:] and echo [:alpha:] print on bash terminal? The behavior seems pretty random.
Sometimes it just prints the whole strings [:space:] or [:alpha:], at other times they expand to some (but not all) single character file names in the directory.