a small question regarding grep.
I'm doing :
find . -type d
And I have three directories :
./backup-2013-11-27 ./backup-2013-11-26 ./backup-2013-11-28
If I only want to retrieve the one from 11/26, I do :
find . -type d | grep "2013.*11.*26"
and it works.
However, I can't understand why :
find . -type d | grep "2013*11*26"
doesn't work ...
Indeed, I'm not using regexp here, I'm using pattern, so
* should be used as wild card, or not?