title: Why Unix wildcard "*" does not include ".*"?
body: <p>Consider a directory with only one file <code>.foo</code>. Then <code>rm -rf *</code> won't remove the <code>.foo</code>; only <code>rm -rf .*</code> will. Why is this the case? (I guess this has something to do with the default <code>.</code> and <code>..</code>, but what's the design rationale? I tend to leave behind the dot files when they are supposed to be removed.)</p>