Unexpected behaviour with the find command
I thought that I understood the find command enough to use it, when today I came across a real strange problem with the search pattern.
We create 3 files to re-create the situation.
~> touch host059.ks host060.ks host061.ks
~> find . -name "host0[59-61]*"
What is the problem with my find command ? It should of found 3 files.
I see that there is the -iregex flag to find, however so far I cannot figure this out, nor do I know if that flag is the correct way to sort those 3 files.